You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
When CRUD flags are disabled, input types are not generated and are unavailable to non-core plugins:
Cannot find InputTypeComposer with name MutateNoteInput
I think we need to generate all input types regardless of whether they are used in SchemaCRUDPlugin, and only strip them at the very end of the plugin chain, if possible.
The text was updated successfully, but these errors were encountered:
In theory addSchemaMustHaveType() should be the solution to this for any type we want to preserve, but I will need to test it.
If SchemaCRUDPlugin uses this then the types will not be removed.
Then if plugin B does not use these types, they will be removed anyway without re-adding these to the must have types. Plugin C needs them but they are gone.
Probably the best solution is an upstream PR to graphql-compose.
@graphback/datasync
,@graphback/codegen-schema
When CRUD flags are disabled, input types are not generated and are unavailable to non-core plugins:
I think we need to generate all input types regardless of whether they are used in SchemaCRUDPlugin, and only strip them at the very end of the plugin chain, if possible.
The text was updated successfully, but these errors were encountered: