Replies: 1 comment
-
Note: I could work around this with a temporary hack, introducing a dummy mutation type:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
One of the entities in my Entity Framework domain model is called
Mutation
. It seems that by convention, this class is treated differently by HotChocolate: Banana Cake Pop showsMutation
as a root type (besidesQueryType
).When using this in combination with Gatsby, I also notice that relations (typically called
Mutations
) from other entities to theMutation
type do not exist in the schema (although they do appear in Banana Cake Pop).Is there a way to disable the first point, so I can test whether that also solves the second point?
The schema root (exported using
/graphql/?sdl
) looks as follows:Beta Was this translation helpful? Give feedback.
All reactions