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

placeholder variable support #46

Open
flozano opened this issue Dec 6, 2020 · 0 comments
Open

placeholder variable support #46

flozano opened this issue Dec 6, 2020 · 0 comments

Comments

@flozano
Copy link

flozano commented Dec 6, 2020

If using variables in some places with specific narrow validations (file sizes, boolean true/false values...), I get:

Multiple annotations found at this line:
	- cvc-pattern-valid: Value '${logback.debug.http.max-file-size}' is not facet-valid with respect to pattern '[1-9][0-9]*(KB|MB|GB)?' for type 
	 'FileSize'.
	- cvc-type.3.1.3: The value '${logback.debug.http.max-file-size}' of element 'maxFileSize' is not valid.

basically any element should be able to contain either a valid value or a placeholder expression (anything between ${ }). In pure string elements this already works as ${..} is a valid string, but in more strict elements the validation fails.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant