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
33 Валидация модели состава автономной конфигурации и квик-фиксы #34
Conversation
6606566
to
cf5de86
Compare
cf5de86
to
c52c2db
Compare
c52c2db
to
72c7549
Compare
72c7549
to
26af7a6
Compare
CHANGELOG.md
Outdated
## 0.4.0 | ||
|
||
- Проверка модели состава автономной конфигурации | ||
- Квик-фикс для исправления некорректных элементов состава автономной конфигурации | ||
|
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.
нужно перенести в секцию ниже - текущая версия 0.3 в мастере
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.
перенес
ConfigurationStandaloneContentValidator.validate(standaloneContent, version) | ||
.entrySet() | ||
.forEach( | ||
error -> error.getValue() | ||
.forEach(errorMessage -> resultAceptor.addIssue(errorMessage, error.getKey()))); |
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.
выглядит код странно - а где логика проверки?
кажется ConfigurationStandaloneContentValidator
- запрещено теперь создавать такие классы в ЕДТ.
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.
логика в валидаторе. используется в разных местах. это не модельный валидатор - просто название такое.
@@ -10,7 +10,7 @@ | |||
* Contributors: | |||
* 1C-Soft LLC - initial API and implementation | |||
*******************************************************************************/ | |||
package com.e1c.dt.check.md; | |||
package com.e1c.dt.check.internal.md.check; |
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.
как-то не правильно выглядит пакет. Если публичный делать - тогда будет com.e1c.dt.check.md.check;
? Выглядит этот check.check не очень.
предлагаю com.e1c.dt.check.internal.md
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.
это пакет для чеков. а есть еще пакет для квикфиксов com.e1c.dt.check.internal.md.fix
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.
А чем тебе не понравились чеки в корне бандла для чеков? это вообще весь проект для чеков и фиксов. как-бы ничего другого тут не предполагается.
26af7a6
to
9d26a05
Compare
SonarCloud Quality Gate failed. |
Что сделано
Чек-лист
Общее:
master
и нет конфликтовЕсли применимо:
Закрываемые задачи
Closes #??