Skip to content

Change validation for the new controller dialog window #297

Closed
@bohdan-harniuk

Description

@bohdan-harniuk

TODO:

  1. We need to remove old validation from the dialogue (com.magento.idea.magento2plugin.actions.generation.dialog.validator.NewControllerValidator).
  2. We need to add all validation rules from removed validator through annotations.

Related Issue & PR as an example:

The dialogue window we should change with new validation:
com.magento.idea.magento2plugin.actions.generation.dialog.NewControllerDialog
image

Expected result (*)

  1. Added new controller dialogue validation with annotations and it works as before (all previous validation rules are present)
  2. Old validation removed from the code

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions