Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant