edgedb / edgedb-rust

The official Rust binding for EdgeDB
https://edgedb.com
Apache License 2.0
209 stars 26 forks source link

Fix credentials reading #312

Closed aljazerzen closed 3 months ago

aljazerzen commented 3 months ago

When writing to credentials.json we now always use branch instead of database and don't write anything if branch="__default__".

Behavior before was breaking when we linked a new instance without specifying a database or branch. It would write just database="edgedb" into credentials, which was then also used as branch.