Skip to content

ISSUE-144: allow schema object property name contains any character #145

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

Merged
merged 1 commit into from
Apr 28, 2021

Conversation

jf-tech
Copy link
Owner

@jf-tech jf-tech commented Apr 28, 2021

Perviously we have a validation forcing all output object property name to be only alpha-numeric (plus underscore). Turns out we have use cases where the property name might contains special characters such as '$' or '%', or '.'.

Loosen up the restriction and dealing with all special character in property name (thus in FQDN) properly with escaping/unescaping.

FYI @Plenituz, once it's merged, will publish a new release.

Perviously we have a validation forcing all output object property name to be only
alpha-numeric (plus underscore). Turns out we have use cases where the property name
might contains special characters such as `'$'` or `'%'`, or `'.'`.

Loosen up the restriction and dealing with all special character in property name
(thus in FQDN) properly with escaping/unescaping.
@codecov
Copy link

codecov bot commented Apr 28, 2021

Codecov Report

Merging #145 (83cf39c) into master (2c284f5) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #145   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           43        43           
  Lines         1983      1983           
=========================================
  Hits          1983      1983           
Impacted Files Coverage Δ
extensions/omniv21/transform/parse.go 100.00% <100.00%> (ø)
extensions/omniv21/transform/validate.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2c284f5...83cf39c. Read the comment docs.

@jf-tech jf-tech merged commit 3cd5f73 into master Apr 28, 2021
@jf-tech jf-tech deleted the issue144_prop_name branch April 28, 2021 01:31
@jf-tech jf-tech linked an issue Apr 28, 2021 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

JSON schema validation only allows alphanumeric property names
1 participant