Follow-up from #248 (PR #249), design spec §9c.
codegen-ts-react / codegen-ts-tanstack emit hooks/forms for any object (compilable today — they bind types/schemas that ARE emitted). After #248, queries/routes stop being emitted for a sourceless object, so any generated hook that fetches through those routes now dangles at runtime.
Align the client-side generator filters with hasAnyRdbSource (exported from @metaobjectsdev/codegen-ts as of #248) so hooks/forms are only emitted for objects that actually have a DB-backed API surface. Ergonomics follow-up, not a correctness bug (the generated code still typechecks). Ref: §9c.
Follow-up from #248 (PR #249), design spec §9c.
codegen-ts-react/codegen-ts-tanstackemit hooks/forms for any object (compilable today — they bind types/schemas that ARE emitted). After #248, queries/routes stop being emitted for a sourceless object, so any generated hook that fetches through those routes now dangles at runtime.Align the client-side generator filters with
hasAnyRdbSource(exported from@metaobjectsdev/codegen-tsas of #248) so hooks/forms are only emitted for objects that actually have a DB-backed API surface. Ergonomics follow-up, not a correctness bug (the generated code still typechecks). Ref: §9c.