Introduce mustache for db setup#900
Conversation
|
@Sqh3rd is attempting to deploy a commit to the NuxtLabs Team on Vercel. A member of the Team first needs to authorize it. |
|
I'm having a bit of trouble trying to negotiate the current differing setups with the documentation. Reading the documentation provided at https://hub.nuxt.com/docs/database it seems that there's mainly following use-cases: d1 over http, neon-serverless, and not-configuring db credentials to allow for runtime env resolving. However in the code, there's also some behaviours, that are not explained in the docu, which I don't fully understand:
As this is quite confusing and not straightforward I'd propose to also introduce following changes in this PR, should they make sense to someone more familiar with this logic:
Would those changes be okay? I could create one commit dedicated solely to these changes, so you could take a look at them. I'd be great if someone with more knowledge in that area could take the time to lift some of my confusion here 😄 |
|
I'd leave the PR in draft until my above comment is resolved, and feedback from the community/verzel team is incorporated into this PR |
Refactor db setup to use mustache templates instead of string interpolation