Closed cpreston321 closed 2 years ago
Someone is attempting to deploy a commit to a Personal Account owned by @zernonia on Vercel.
@zernonia first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
tweetic | ✅ Ready (Inspect) | Visit Preview | Sep 21, 2022 at 3:19AM (UTC) |
@zernonia I added a helper utility that extends defu
using h3 which nitro is wrapped under. You visit it here I released this early in the day.
https://github.com/cpreston321/h3-defu
Essentially the same concept just different package.
Same as useBody(event)
-> getBodyWithDefaults(event, defaults = {})
@zernonia
Also have a pre-release out for nuxt-vscode
if you want to test it :)
https://github.com/cpreston321/nuxt-vscode
Appreciate it
h3-defu
looks good. Add a suggestion https://github.com/cpreston321/h3-defu/issues/1 😁
Features
defu
which merges the query together with defaultsRegex Test
https://regex101.com/r/AAtIUu/1