Skip to content
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

Settings: AffixSettings as validator dependencies #52973

Merged

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