-
Notifications
You must be signed in to change notification settings - Fork 102
Added Generator Delete Entity By Id #492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Generator Delete Entity By Id #492
Conversation
resources/META-INF/plugin.xml
Outdated
@@ -238,6 +238,7 @@ | |||
<internalFileTemplate name="Magento PHP Form Generic Button Block Class"/> | |||
<internalFileTemplate name="Magento Entity New Action Controller Class"/> | |||
<internalFileTemplate name="Magento New Entity Layout XML"/> | |||
<internalFileTemplate name="Magento Delete Entity By Id Command Model"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why we need the word Model
here. It's just a command, isn’t it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eduard13 @coderimus what do you think guys?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯 agree, Model
word is extra. But for me this "Command" is a bit confusing. For me it looks like a Service Contract, that handles the Entity removal, which should have an API interface and a Service that implements it.
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@VitaliyBoyko agree that the Model
is an extra word.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the Model
from the command template
Hello, @VitaliyBoyko I've fixed the code by recommendation. Thank you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! ✅
Description (*)
I've implemented:
Contribution checklist (*)