-
Notifications
You must be signed in to change notification settings - Fork 244
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
expected value at line 1 column 1
on overriden datasources with some connection strings
#4613
Comments
I can indeed reproduce with
Then edit the datasource to datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
} and finally
|
Things get weird when trying different connection strings This work, with
And this doesn't work, with
|
@Jolg42 Can you reproduce in the JS client as well? Or did you test it using the Go client? |
I only tried using the go client, I doubt that it is reproducible with the JS client. |
The Go client overrides the datasources. This works fine, but it seems to break with some datasource URLs, e.g.
The full error message is always:
Now the weirdest part is that a similarly looking but slightly different datasource URL is working:
I am going a bit crazy now debugging this, not really sure if encoding of the datasource URL has anything to do with this or if this ist just random at this point...
Any pointers would be highly appreciated, I can also prepare a full small reproduction with the Go client if needed.
The text was updated successfully, but these errors were encountered: