bdunogier / ezplatform-graphql-bundle

GraphQL server for eZ Platform, the open source Symfony CMS.
13 stars 6 forks source link

Refactored schema generation #27

Closed bdunogier closed 6 years ago

bdunogier commented 6 years ago

The SchemaGenerator, used by the Command, receives SchemaBuilder objects, tagged with ezplatform_graphql.schema_builder. Schema builders receives the $schema array by reference, and add whatever it wants to it.

The Domain schema generation has been refactored as such, with its schema worker internal mechanism.

Also used by https://github.com/bdunogier/ezplatform-page-graphql.