When dumping GraphQL schema or looking at GraphiQL there are missing types. Execution of the query works correctly but the types are missing from the schema. Our current setup is using CraftCMS 3.8 headless and we generate Typescript typings from GraphQL schema, this errors as it is looking for types in the schema for VizyNodes such as VizyNode_Heading, VizyNode_Paragraph etc. Expected outcome is for these nodes to be in the schema.
Additionally, searching for these types in GraphiQL cannot be found. I believe it is because of this commit https://github.com/verbb/vizy/commit/776ea5c48a4b9d84b4ac909391ceefe409fabab2 since when generating the schema we don't have a field object and it skips all nodes. Removing this commit, everything works as intended.
Describe the bug
When dumping GraphQL schema or looking at GraphiQL there are missing types. Execution of the query works correctly but the types are missing from the schema. Our current setup is using CraftCMS 3.8 headless and we generate Typescript typings from GraphQL schema, this errors as it is looking for types in the schema for
VizyNodes
such asVizyNode_Heading
,VizyNode_Paragraph
etc. Expected outcome is for these nodes to be in the schema.Additionally, searching for these types in GraphiQL cannot be found. I believe it is because of this commit https://github.com/verbb/vizy/commit/776ea5c48a4b9d84b4ac909391ceefe409fabab2 since when generating the schema we don't have a field object and it skips all nodes. Removing this commit, everything works as intended.
Steps to reproduce
./craft graphql/dump-schema --full-schema
VizyNode_Heading
andVizyNode_Paragraph
are missingCraft CMS version
3.8.7
Plugin version
1.0.22
Multi-site?
No
Additional context
Vizy Field setup![image](https://user-images.githubusercontent.com/63968092/233897557-8d20af29-aacc-4755-b717-7c65e4b3723e.png)
GraphQL with type missing![image](https://user-images.githubusercontent.com/63968092/233897579-b1145cb3-e2e9-4257-a73e-3a94d79fd94b.png)