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

Should we cast types? #4

Open
brandoncarl opened this issue Feb 6, 2016 · 0 comments
Open

Should we cast types? #4

brandoncarl opened this issue Feb 6, 2016 · 0 comments
Labels

Comments

@brandoncarl
Copy link
Owner

Queries can be written much more compactly if strings don't require quotation marks. I like this in that it's consistent with URL-style query notation. However, this increases ambiguity.

For example, should we allow albums?artist=Moby or require albums?artist="Moby"?
If we do not require quotation strings, anything number-like would be cast to a number, and anything boolean-like would be cast to a boolean. The ability to override via quotes would still be accessible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant