mu-haskell
mu-haskell copied to clipboard
`IntrospectSchemaFieldType` instance for `UUID`
After adding an input with a UUID field, for example:
scalar UUID
input MyInput {
id: UUID!
}
I get
Could not deduce (mu-graphql-0.5.0.4:Mu.GraphQL.Query.Introspection.IntrospectSchemaFieldType
('TPrimitive UUID))
Would it be possible to add this instance? I'm guessing it would be here:
https://github.com/higherkindness/mu-haskell/blob/3d0a80e3743fc2145897abc01266788d52b27573/graphql/src/Mu/GraphQL/Query/Introspection.hs#L360-L367