Skip to content

Provide ability to register custom assertion #53

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 9 commits into from
Feb 10, 2024
Merged

Provide ability to register custom assertion #53

merged 9 commits into from
Feb 10, 2024

Conversation

OptimumCode
Copy link
Owner

Provide interfaces and methods to allow users registering custom assertions and use them in their schemes.

Resolves #29

@OptimumCode OptimumCode added the enhancement New feature or request label Feb 10, 2024
Copy link

codecov bot commented Feb 10, 2024

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (47a3f49) 89.69% compared to head (89aef93) 90.16%.

Files Patch % Lines
...io/github/optimumcode/json/schema/AnnotationKey.kt 86.66% 1 Missing and 1 partial ⚠️
...umcode/json/schema/internal/AnnotationCollector.kt 75.00% 0 Missing and 2 partials ⚠️
...b/optimumcode/json/schema/internal/SchemaLoader.kt 95.83% 2 Missing ⚠️
...ctories/number/ExclusiveMaximumAssertionFactory.kt 0.00% 0 Missing and 1 partial ⚠️
...ctories/number/ExclusiveMinimumAssertionFactory.kt 0.00% 0 Missing and 1 partial ⚠️
...ternal/factories/number/MaximumAssertionFactory.kt 0.00% 0 Missing and 1 partial ⚠️
...ternal/factories/number/MinimumAssertionFactory.kt 0.00% 0 Missing and 1 partial ⚠️
...nal/factories/number/MultipleOfAssertionFactory.kt 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #53      +/-   ##
==========================================
+ Coverage   89.69%   90.16%   +0.46%     
==========================================
  Files          88       90       +2     
  Lines        1980     2033      +53     
  Branches      492      499       +7     
==========================================
+ Hits         1776     1833      +57     
+ Misses         47       41       -6     
- Partials      157      159       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@OptimumCode OptimumCode merged commit f4167e8 into main Feb 10, 2024
@OptimumCode OptimumCode deleted the issue_#29 branch February 10, 2024 11:17
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.

Register custom Keywords
1 participant