-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
Milestone
Description
To leverage all the information we have about a template, we should probably chance the interface from
OptimizerInterface::optimize(string $definition): string
to
OptimizerInterface::optimize(SchemaTemplateInterface $schemaTemplate): SchemaTemplateInterface
This way the optimizers can leverage all the information from a SchemaTemplateInterface to optimize the schema.
This will be a breaking change