Open olso opened 3 years ago
Hi @olso and thank you for the report!
Sorry but I'm not adding a lot here but just labeling it according to our new Contribution Guide and issue flow.
It seems like we are on stage 0
.
Now in order to advance to stage 1
we'll need an easily running reproduction, do you think you can create that on code sandbox?
Thank you and sorry that this comment is not a complete solution (yet).
Please provide a live reproduction to move forward. As far as I see, there is RequireFields<LandingFeaturedCitiesArgs, 'limit'>>
used there, and if you'll use Resolvers
type as root for your resolvers object, it will be fine.
Describe the bug
Args (my case `limit`) are not generated on `QueryResolvers["landing"]` They are generated on `LandingResolvers` tho The query works in runtime of course **To Reproduce** Steps to reproduce the behavior:codegen.yml
config file:Expected behavior
Environment:
@graphql-codegen/...
:Additional context