You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 10, 2018. It is now read-only.
/*The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.*/exporttypeID=string|number
This makes sense, but has the unfortunate consequence of making it more difficult to pass the id around internally:
I'm not sure this should change, but wanted to bring it up
The text was updated successfully, but these errors were encountered:
I think the same solution could be applied as for #10. Splitting the ID type, and having an InputId and OutputID type, with string | number and string respectively.
GraphQL ID types can be string or number, but are always returned as string. Typing the output type
as string makes it easier to use the return values.
Closes#12
Currently the ID type alias to string | number:
This makes sense, but has the unfortunate consequence of making it more difficult to pass the id around internally:
I'm not sure this should change, but wanted to bring it up
The text was updated successfully, but these errors were encountered: