Nesting generated schema #102
-
Hello, really loving the package its absolutely amazing and just have one little question. I can see that it generates the schema and puts queries and mutations under those types which is fantastic, what I am wondering if it is possible to move them up a level somehow. For example this is what I have now and what I am trying to achieve is getting something like this generated The use case is that I am trying to integrate with a federated schema and I want to put all of my Queries under a type to keep them hidden unless someone actually wants to find them (not shown at the top level of the playground). So I think to summarise my question is - is it possible to provide an initial type to nest all generated resolvers/types under? Hopefully my question makes sense! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Nested queries and mutations (aka namespaces) are an antipattern in GraphQL and are not supported in TypeGraphQL at all. |
Beta Was this translation helpful? Give feedback.
Nested queries and mutations (aka namespaces) are an antipattern in GraphQL and are not supported in TypeGraphQL at all.