Strawberry Shake: How can I override the automatic naming that occurs when two date fields appear in GraphQL query parameters? #6972
Unanswered
robc88Farm
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I logged this as a bug (#6971) but since it's not getting answered, figured that maybe it belongs in this section instead.
We have a query with a signature similar to this:
query TwoDates($first_date: date!, $second_date: Date!) { # etc. }
When I attempt to build, the generated Hasura client contains the following:
If I manually change the field names to get past the "two fields with same name" compiler exception, the build continues. This isn't ideal, obviously; is there a way to get around this--maybe a way to manually stipulate field names for query parameters?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions