Ultimate

X_QUERY_SLICE_ENTITY

Means

x g query into a slice whose entity is not the one it scaffolds

Typical cause

The slice's entity.ts declares a table under another name than the slice's, and the generated read imports the slice's own row type and repo: written anyway, it does not compile

Fix

x queries list --json — then declare the read by hand over the entity the slice declares

Listed under CLI and verify

This page as markdown