Skip to content

Commit bd66d51

Browse files
xortiveemily-shen
andauthored
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]>
1 parent 038fdd9 commit bd66d51

File tree

8 files changed

+836
-567
lines changed

8 files changed

+836
-567
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
fix: make individual parameters work for `wrangler hyperdrive create` when not using HoA
6+
7+
`wrangler hyperdrive create` individual parameters were not setting the database name correctly when calling the api.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
refactor: use same param parsing code for `wrangler hyperdrive create` and `wrangler hyperdrive update`
6+
7+
ensures that going forward, both commands support the same features and have the same names for config flags
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"wrangler": minor
3+
---
4+
5+
feature: allow using a connection string when updating hyperdrive configs
6+
7+
both `hyperdrive create` and `hyperdrive update` now support updating configs with connection strings.

0 commit comments

Comments
 (0)