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

Refactoring #58

Merged
merged 1 commit into from
Oct 9, 2022
Merged

Refactoring #58

merged 1 commit into from
Oct 9, 2022

Conversation

marrow16
Copy link
Owner

@marrow16 marrow16 commented Oct 9, 2022

  • Reducing repeating code
  • Fix StringCharacters constraint (should not use ptrs to unicode.RangeTable)
  • Fix small bugs in tag parsing
  • Added docs on public vars and consts
  • Made pattern preset consts public
  • Added PropertyValidator.ToV8nTagString() method (converts to v8n tag representation)

* Reducing repeating code
* Fix `StringCharacters` constraint (should not use ptrs to `unicode.RangeTable`)
* Fix small bugs in tag parsing
* Added docs on public vars and consts
* Made pattern preset consts public
* Added `PropertyValidator.ToV8nTagString()` method (converts to v8n tag representation)
@codecov-commenter
Copy link

codecov-commenter commented Oct 9, 2022

Codecov Report

Merging #58 (ac53dc6) into master (89b6fba) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            master       #58    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           32        33     +1     
  Lines         6911      7091   +180     
==========================================
+ Hits          6911      7091   +180     
Impacted Files Coverage Δ
i18n.go 100.00% <ø> (ø)
property_validator.go 100.00% <ø> (ø)
query_validate.go 100.00% <ø> (ø)
validator.go 100.00% <ø> (ø)
constraint_registry.go 100.00% <100.00%> (ø)
constraint_utils.go 100.00% <100.00%> (ø)
constraints_compare.go 100.00% <100.00%> (ø)
constraints_datetime.go 100.00% <100.00%> (ø)
constraints_misc.go 100.00% <100.00%> (ø)
constraints_net.go 100.00% <100.00%> (ø)
... and 4 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@marrow16 marrow16 merged commit 3f44ea7 into master Oct 9, 2022
@marrow16 marrow16 deleted the to-v8n-tag branch October 9, 2022 18:31
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.

2 participants