-
Notifications
You must be signed in to change notification settings - Fork 749
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor hyperdrive create and update commands to match each other's …
…behavior and address bug with individual parameters on creation (#7024) * Refactor hyperdrive create and update commands to match each other's behavior and address bug with individual parameters on creation * fix snapshots --------- Co-authored-by: emily-shen <[email protected]>
- Loading branch information
1 parent
038fdd9
commit bd66d51
Showing
8 changed files
with
836 additions
and
567 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"wrangler": patch | ||
--- | ||
|
||
fix: make individual parameters work for `wrangler hyperdrive create` when not using HoA | ||
|
||
`wrangler hyperdrive create` individual parameters were not setting the database name correctly when calling the api. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"wrangler": patch | ||
--- | ||
|
||
refactor: use same param parsing code for `wrangler hyperdrive create` and `wrangler hyperdrive update` | ||
|
||
ensures that going forward, both commands support the same features and have the same names for config flags |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"wrangler": minor | ||
--- | ||
|
||
feature: allow using a connection string when updating hyperdrive configs | ||
|
||
both `hyperdrive create` and `hyperdrive update` now support updating configs with connection strings. |
Oops, something went wrong.