graphql-go
graphql-go copied to clipboard
Create custom scalar types?
I'm struggling with this right now. Bu I can't figure it out...what would be the best approach to create custom scalar types?
If you look at the time file, it shows how to implement your own scalar type.
Basically need to implement
func (_ customType) ImplementsGraphQLType(name string) bool
func (c *custoType) UnmarshalGraphQL(input interface{}) error