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

Codegen basically requires dotenv on stable #90

Closed
sgrif opened this Issue Jan 13, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@sgrif
Member

sgrif commented Jan 13, 2016

The following doesn't work on stable: infer_schema!(env!("DATABASE_URL")), while this does: infer_schema!(dotenv!("DATABASE_URL")). I believe this is because syntex doesn't know about env!, and therefore doesn't expand it. We should probably figure something out here.

@sgrif sgrif added the bug label Jan 13, 2016

@sgrif sgrif added this to the 0.5 milestone Jan 13, 2016

@sgrif sgrif removed this from the 0.5 milestone Jan 23, 2016

@sgrif

This comment has been minimized.

Member

sgrif commented Apr 13, 2016

Fixed upstream

@sgrif sgrif closed this Apr 13, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment