Closed oceandrama closed 2 months ago
See: https://gql-tada.0no.co/reference/gql-tada-api#graphql-scalar This works on any input type
As per TypeOf<"User">
, you can't retrieve a concrete type for an object type.
See: https://gql-tada.0no.co/reference/gql-tada-api#graphql-scalar
Summary
Now there are helpers to get result of query or mutation and its variables, but it's very hard to get type of concrete enum, input type etc. For example, if I want to get
UserRole
enum I need to do something like thisProposed Solution
It will be very usefull to have helper like