Currently t.ID is inferred as any, but the GraphQL spec says:
The ID type is serialized in the same way as a String [...]. While it is often numeric, it should always serialize as a String.
and
Input Coercion
When expected as an input type, any string (such as "4") or integer (such as 4) input value should be coerced to ID as appropriate for the ID formats a given GraphQL server expects. Any other input value, including float input values (such as 4.0), must raise a query error indicating an incorrect type.
My proposal is to change t.ID from any to string | number
Currently
t.ID
is inferred asany
, but the GraphQL spec says:My proposal is to change
t.ID
fromany
tostring | number
PS: Thanks for the amazing library.