-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support to create variants on object creation (#375)
* Added support to create variants on object creation * Apply suggestions from code review Co-authored-by: Sebastian Blank <sebastian.bl@gmx.de> * Added error handling when changing existing variants As the parent can be changed for variants this is now catched, as a variant cannot change its parent anymore. * Added support to create variants on object creation * Added error handling when changing existing variants As the parent can be changed for variants this is now catched, as a variant cannot change its parent anymore. * Removed unecessary translations * Addressed some qodana warnings * Allowing variants to be parents of variants of the same class * Apply php-cs-fixer changes * fixup! Allowing variants to be parents of variants of the same class * Added check if parent has changed * Added individual exceptions when variant type cannot be set * Apply php-cs-fixer changes * fixup! Added individual exceptions when variant type cannot be set * Allowing variants to be changed to objects * fixup! Allowing variants to be changed to objects --------- Co-authored-by: Sebastian Blank <sebastian.bl@gmx.de> Co-authored-by: turbo-ele <turbo-ele@users.noreply.github.com>
- Loading branch information
1 parent
bad738e
commit c43691a
Showing
4 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters