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

support disabling query typechecking via env var #217

Closed
andrewbanchich opened this issue Mar 31, 2020 · 1 comment
Closed

support disabling query typechecking via env var #217

andrewbanchich opened this issue Mar 31, 2020 · 1 comment

Comments

@andrewbanchich
Copy link

The query! macro is really useful, but I can't use it when building my project as a Docker image since there is no database at that point. It would be nice to be able to disable it with an env var and only have syntax checking.

@abonander
Copy link
Collaborator

We're already discussing support for this kind of thing in #60. query!() requires at least knowledge of the query's result columns to compile properly so disabling the checking entirely is a non-starter.

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

No branches or pull requests

2 participants