You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<some date> edgedb.ConfigurationError: no `edgedb.toml` found and no connection options specified either via arguments to connect API or via environment variables EDGEDB_HOST/EDGEDB_PORT, EDGEDB_INSTANCE, EDGEDB_DSN or EDGEDB_CREDENTIALS_FILE
This implies a certain dir structure, which might not be what you want for your project.
Thanks for opening this issue @4thel00z! We will consider adding this feature. In the mean time you can work around this by setting the EDGEDB_INSTANCE environment variable to the name of your project instance.
Describe the bug
Currently
CreateClientDSN
hardcodes the config locations, which could be an optional default param:Which creates:
This implies a certain dir structure, which might not be what you want for your project.
Reproduction
Create an empty project, throw this in
main.go
Expected behavior
I can provide a value (potentially, via
edgedb.Options
that is respected and thrown intoresolveTOML
:Happy to contribute
Versions (please complete the following information):
edgedb-go
version:github.com/edgedb/edgedb-go v0.13.6
1.20
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: