-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add handling of
branch
option. (#484)
The new `branch` option can be used instead of the old `database` option. These are mutually exclusive and will generally produce an error if used at the same time (except when one appears in settings that completely override other sources of options). The branch option can be passed in the following manner: - as a kwarg `branch` to the client - as `EDGEDB_BRANCH` environment variable - as a `branch` field of the credentials - as a `branch` query parameter in DSN This binding will accept either `branch` or `database` option and will normalize the result as `database` when connecting to the EdgeDB server (for compatibility with older servers during the period of deprecation of `database` term).
- Loading branch information
1 parent
701447d
commit c666a6f
Showing
5 changed files
with
173 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters