Open ashleyxue529 opened 6 months ago
I'm not sure. this might be a weird pluralization thing
are you using v0.1. or v0.2.?
UserToFoodsEdge
should be defined in src/ent/user/query/user_to_foods_query.ts
based on your schema
are you using docker or running locally?
if you're using docker, can you run with --write-all
docker-compose -f docker-compose.dev.yml run --rm app tsent codegen --write-all
or locally:
tsent codegen --write-all
Setup is like this:
Codegen is successful, but I think some files/naming is missing/incorrect? When running the query in GraphiQL, it produces the error
"message": "options.ctr is not a constructor"
. I saw that inuser_to_foods_connection_type.ts
,UserToFoodsEdge
is missing:Am I missing something in my setup?