-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add utility functions and person parser #65
Conversation
Codecov Report
@@ Coverage Diff @@
## master #65 +/- ##
==========================================
+ Coverage 92.33% 92.65% +0.32%
==========================================
Files 21 23 +2
Lines 1917 2029 +112
Branches 490 519 +29
==========================================
+ Hits 1770 1880 +110
- Misses 141 143 +2
Partials 6 6
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging as it looks good overall, but I will be breaking out some of the concerns raised here into their own issues.
Thanks for this work @nokome! I agree that this separation of concerns between Schema/Convert makes much better sense 👍
🎉 This PR is included in version 0.35.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This is the sister PR to stencila/schema#65. It adds functions such as
validate
andcoerce
which are (will be) used here to ensure that data that is decoded from other formats conforms to the schema.