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

rf(json-schema): Factor JSON schema validation out of context.dataset #2033

Merged
merged 2 commits into from
Jul 31, 2024

Conversation

effigies
Copy link
Collaborator

Follow-up to #2020. Feels a bit cleaner to make the Ajv validator a singleton that gets updated once, when the schema is loaded.

Copy link

codecov bot commented Jul 30, 2024

Codecov Report

Attention: Patch coverage is 67.64706% with 11 lines in your changes missing coverage. Please review.

Project coverage is 87.09%. Comparing base (f4de42a) to head (cc2e890).

Files Patch % Lines
bids-validator/src/validators/json.ts 56.52% 10 Missing ⚠️
bids-validator/src/setup/loadSchema.ts 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2033      +/-   ##
==========================================
+ Coverage   85.75%   87.09%   +1.33%     
==========================================
  Files          91      134      +43     
  Lines        3785     6415    +2630     
  Branches     1218     1545     +327     
==========================================
+ Hits         3246     5587    +2341     
- Misses        453      738     +285     
- Partials       86       90       +4     

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

@effigies effigies force-pushed the rf/json-validator branch from 6fd3b8b to cc2e890 Compare July 30, 2024 23:32
@rwblair rwblair merged commit 796133c into bids-standard:master Jul 31, 2024
24 of 29 checks passed
@effigies effigies deleted the rf/json-validator branch July 31, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants