Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

IntrospectSchemaFieldType instance for UUID #346

Open
rynoV opened this issue Feb 4, 2023 · 0 comments
Open

IntrospectSchemaFieldType instance for UUID #346

rynoV opened this issue Feb 4, 2023 · 0 comments

Comments

@rynoV
Copy link

rynoV commented Feb 4, 2023

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:

instance IntrospectSchemaFieldType ('Mu.TPrimitive String) where
introspectSchemaFieldType _ _ = tNonNull $ tSimple "String"
instance IntrospectSchemaFieldType ('Mu.TPrimitive T.Text) where
introspectSchemaFieldType _ _ = tNonNull $ tSimple "String"
instance IntrospectSchemaFieldType ('Mu.TPrimitive JSON.Value) where
introspectSchemaFieldType _ _ = tNonNull $ tSimple "JSON"
instance IntrospectSchemaFieldType ('Mu.TPrimitive JSON.Object) where
introspectSchemaFieldType _ _ = tNonNull $ tSimple "JSONObject"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant