Closed njlr closed 4 years ago
It works if I change ID!
to String!
, so it's probably just a missing case somewhere.
If I had to guess, it's probably here: https://github.com/Zaid-Ajaj/Snowflaqe/blob/14449d5343688bbe16b6eabcba9b4baa08905528/src/Query.fs#L329 (no case for "ID"
)
Hi @njlr, thanks a lot for filing the issue with the relevant debug information. Indeed I missed a case in the validation code but it should be fixed as of v1.5.1 :smile:
My schema:
My query:
But I get a validation error:
This is unexpected since
id
and$id
have the same type (ID!
).