Closed nick-zh closed 2 years ago
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
To leverage all the information we have about a template, we should probably chance the interface from
to
This way the optimizers can leverage all the information from a SchemaTemplateInterface to optimize the schema. This will be a breaking change