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

Proxibase /find should accept truthy values as url query string params for boolean fields #379

Open
georgesnelling opened this issue Dec 16, 2015 · 0 comments
Assignees

Comments

@georgesnelling
Copy link
Member

currently /find/links?q[_to]=fooid&q[type]=watch&q[enabled]=1

passes through enabled: '1' to mongodb, which of course fails. Consider inspecting the schema, perhaps at /routes/data/find level, and converting truthy query string params for boolean fields to true | false.

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