Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upinfer_schema!("dontenv:DATABASE_URL") should give an error that is useful to newbies #1313
Comments
This comment has been minimized.
|
Hey @nrc I know you can't say when things will be stable, but do you think it'll be long enough that we should bother dealing with this? |
sgrif
changed the title from
infer_schema!(dontenv:DATABASE_URL) should give an error
to
infer_schema!("dontenv:DATABASE_URL") should give an error that is useful to newbies
Nov 28, 2017
This comment has been minimized.
nrc
commented
Nov 28, 2017
|
I'm not really sure. In theory, there is not much work to do before we can start stabilisation (mostly making sure libraries can work, especially around hygiene). But there's no one signed up for this, so I'm not sure when it'll ever get done. I'd guess end of 2018, but it is just a guess - could be much sooner if someone jumps on it, or much longer if nobody does. |
This comment has been minimized.
This comment has been minimized.
|
@weiznich FYI -- If you press |
sgrif commentedNov 28, 2017
I'm not sure exactly what the metrics should be here (maybe this issue just goes away once proc macros 2.0 is stable and this can be
dotenv!("DATABASE_URL")again). But there is definitely a class of arguments here which we can be reasonably sure is an error. We should give a helpful error message here if so.