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
Right now you can define sclars, interfaces and unions just fine, but there is no easy way to attach the functions they need to them. Off the top of my head (probably incomplete):
interface needs resolveType
union needs members to have ofType
scalar needs to have parseValue and serialize
The text was updated successfully, but these errors were encountered:
One thing I'm thinking of doing to allow a workaround for these issues is to allow passing either a shorthand or a GraphQL-JS type into the schemaGenerator. That way the GraphQL-JS type definition could be used whenever the shorthand does not cut it.
Right now you can define sclars, interfaces and unions just fine, but there is no easy way to attach the functions they need to them. Off the top of my head (probably incomplete):
The text was updated successfully, but these errors were encountered: