-
Notifications
You must be signed in to change notification settings - Fork 73
DataSyncPlugin assumes presence of types generated by SchemCRUDPlugin #2118
Comments
/cc @ssd71 |
In theory 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. |
Issue upstream which can resolve this: graphql-compose/graphql-compose#293 Anyway this is low priority for now. |
New option @craicoverflow thanks for PR. |
@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: