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

Improvement - Normalize utils #14

Open
korzio opened this issue Jan 16, 2017 · 3 comments
Open

Improvement - Normalize utils #14

korzio opened this issue Jan 16, 2017 · 3 comments
Milestone

Comments

@korzio
Copy link
Owner

korzio commented Jan 16, 2017

  • Update utils with mirroring concept - now they are using fn() ? invalid: valid, should be vice versa
  • Move utils to separate package?!
@korzio
Copy link
Owner Author

korzio commented Jun 6, 2017

Same for validators, f.e.

tpl('if (')(schema.allOf.map(reference => tpl.resolve(reference))
    .join('(%s) || '), tpl.data)('(%s))', tpl.data)(tpl.error('allOf'));

could be rewritten with a es6 template (that is for investigation)

@korzio korzio modified the milestone: 1.1.0 Jun 7, 2017
@korzio
Copy link
Owner Author

korzio commented Jun 9, 2017

  • add destructuring for template, it will make code cleaner

@korzio korzio removed this from the 1.1.0 milestone Jun 15, 2017
@korzio
Copy link
Owner Author

korzio commented Jun 15, 2017

Moved to the next release, as I expect there will be some bugfixes related to utils as well, and also some work is already done - 6c99491

@korzio korzio added this to the 2.0.1 milestone Oct 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant