Typed Query parameters not generated
Hey community,
I am trying out the typed query feature and run into a problem that might also be faulty usage by me.
I got the following raw query file:
As you can see I defined the parameter manually. I did generate the client and try to call it like this:
TS complains about the name argument provided in the
$queryRawTyped
call. Providing it int the getNearestSkillWithoutType
call also results in a TS error complaining about the extra argument.
The documentation is kinda weird too. In the documentation text it says:
but the code example provides the arguments in the query call.
But my generated client doesnt accept any of those two scenarios. It knows about the query but not about their arguments.
Am I missing something?1 Reply
You chose to debug with a human. They'll tinker with your query soon. If you get curious meanwhile, hop into
#ask-ai
for a quick spin!