This PR resolves #174 by introducing these changes:
Concrete implementations changed to interfaces when using automatic dependency injection.
Now using ::modelClass() or ModelManifest::get() to get the correct class name for models
Now using App::make($modelClass) to get the right instance where suitable
Now using model interfaces in Schemas
Now using morph aliases as schema types (⚠️ Breaking change)
⚠️ Breaking changes
Changed relationship names and routes
Because Schemas now use type naming derived from pluralized morph aliases, relationship names and thus routes had to change as well.
variants → product-variantsassociations → product-associations
Desctiption
This PR resolves #174 by introducing these changes:
⚠️ Breaking changes
variants
→product-variants
associations
→product-associations