Skip to content

Conversation

@stu-elastic
Copy link
Contributor

Allow AffixSetting as validator dependencies. If a validator
specifies AffixSettings as a dependency, then validate(T, Map)
will have the concrete setting in a map.

Fixes: #52933

Allow AffixSetting as validator dependencies.  If a validator
specifies AffixSettings as a dependency, then `validate(T, Map)`
will have the concrete setting in a map.

Fixes: elastic#52933
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Settings)

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stu-elastic stu-elastic merged commit 1e0ba70 into elastic:master Feb 29, 2020
stu-elastic added a commit to stu-elastic/elasticsearch that referenced this pull request Feb 29, 2020
Allow AffixSetting as validator dependencies.  If a validator
specifies AffixSettings as a dependency, then `validate(T, Map)`
will have the concrete setting in a map.

Fixes: elastic#52933
stu-elastic added a commit that referenced this pull request Feb 29, 2020
Allow AffixSetting as validator dependencies.  If a validator
specifies AffixSettings as a dependency, then `validate(T, Map)`
will have the concrete setting in a map.

Backport of: #52973, 1e0ba70
Fixes: #52933
@stu-elastic
Copy link
Contributor Author

Master: 1e0ba70
7.x: 210aab0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Affix settings should work with validators

4 participants