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

Add comma separation for provided validators #40

Merged
merged 4 commits into from
Apr 28, 2023

Conversation

TobiWo
Copy link
Owner

@TobiWo TobiWo commented Apr 18, 2023

Summary

Introducing the possibility to provide multiple --validators flags in v0.3.0 changed the general parsing behavior so that e.g. comma separation wasn't allowed anymore. Furthermore, the change introduced issues while working with compose files or other infrastructure as code tools like helm.

This PR fixes the parsing issue through a simple own parsing implementation for the respective cli option. It changes the following aspects:

  • You can now separate validators with space or comma
  • The documentation was updated with an detailed explanation how to separate validators
  • The docker run examples in the documentation were updated with an example how to provide a validator with an alias
  • The compose was updated because you can now add multiple validator identifiers on one line

Closes #39
Closes #38

@TobiWo TobiWo force-pushed the feature/add-comma-separation-for-provided-validators branch 2 times, most recently from 738ab70 to 921b88f Compare April 18, 2023 10:31
@TobiWo TobiWo marked this pull request as ready for review April 18, 2023 10:33
@TobiWo TobiWo requested a review from LuisNaldo7 April 18, 2023 10:33
LuisNaldo7
LuisNaldo7 previously approved these changes Apr 19, 2023
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
@TobiWo TobiWo force-pushed the feature/add-comma-separation-for-provided-validators branch from 921b88f to fea2bcb Compare April 22, 2023 07:53
@TobiWo TobiWo requested a review from LuisNaldo7 April 22, 2023 07:53
@TobiWo TobiWo force-pushed the feature/add-comma-separation-for-provided-validators branch from fea2bcb to 0a8a5e8 Compare April 22, 2023 08:08
@TobiWo TobiWo added the enhancement New feature or request label Apr 24, 2023
@TobiWo TobiWo merged commit 2dfe99d into main Apr 28, 2023
@TobiWo TobiWo deleted the feature/add-comma-separation-for-provided-validators branch April 28, 2023 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Validator Naming docker-compose.yaml comma-separate validators
2 participants