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

feat: humanize format #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat: humanize format #68

wants to merge 1 commit into from

Conversation

vankop
Copy link
Member

@vankop vankop commented Oct 13, 2019

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

#66

Breaking Changes

Yes

Additional Info

I think it is a point to discuss, should schema-utils move absolutePath to custom format instead of keyword

@@ -17,7 +17,8 @@ function getErrorFor(shouldBeAbsolute, data, schema) {
return errorMessage(schema, data, message);
}

export default (ajv) =>
export default (ajv) => {
ajv.addFormat('absolutePath', () => true);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO =)

@codecov
Copy link

codecov bot commented Oct 13, 2019

Codecov Report

Merging #68 (d3eb673) into master (7fc8069) will decrease coverage by 0.09%.
The diff coverage is 96.87%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #68      +/-   ##
==========================================
- Coverage   98.57%   98.47%   -0.10%     
==========================================
  Files           5        6       +1     
  Lines         561      592      +31     
  Branches      252      259       +7     
==========================================
+ Hits          553      583      +30     
- Misses          8        9       +1     
Impacted Files Coverage Δ
src/util/humanize.js 96.29% <96.29%> (ø)
src/ValidationError.js 98.16% <100.00%> (+<0.01%) ⬆️
src/keywords/absolutePath.js 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 7fc8069...d3eb673. Read the comment docs.

@alexander-akait
Copy link
Member

/cc @vankop we can continue a work on the PR

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