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

Change "conditional adapter" to use mongodb-query-like adapter #66

Open
sendyhalim opened this issue Jun 22, 2018 · 0 comments
Open

Change "conditional adapter" to use mongodb-query-like adapter #66

sendyhalim opened this issue Jun 22, 2018 · 0 comments

Comments

@sendyhalim
Copy link
Member

It's cool that we can define conditional validation rules, unfortunately it uses some kind of odd and bizarre conventions (hint: I'm looking at you https://github.com/sendyhalim/noes#nested-example). I personally think mongo-db-like query logic has one of the best and most understandable logical format.

https://github.com/protobi/query#basic-usage would be a better fit

Note that this would be a breaking changes. Another approach would be to provide a public API to set custom "conditional adapter".

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