Join Slack
Powered by
Just confirming here - the variable expansion that...
# prisma-client
j
Jeremy Hinegardner
08/12/2022, 4:43 PM
Just confirming here - the variable expansion that is done in prisma-client as documented here -
https://www.prisma.io/docs/guides/development-environment/environment-variables#expanding-variables
- it does not appear to do default value substitution although the documentation points to dotenv-expand which does.
✅ 1
Jeremy Hinegardner
08/12/2022, 4:44 PM
Comparing
https://github.com/prisma/prisma/blob/27c038fa2b61161fb9164f826f0ef1b574dff445/packages/internals/src/dotenvExpand.ts
with
https://github.com/motdotla/dotenv-expand/blob/master/lib/main.js
- it appears that the internal dotenvExpand dos not support the
:-
notation.
n
Nurul
08/16/2022, 11:07 AM
Hey Jeremy 👋 Could you create a
Bug Report
for this? Our engineering team should be able to get back to you on the report.
j
Jeremy Hinegardner
08/16/2022, 2:10 PM
@Nurul
will do
Jeremy Hinegardner
08/17/2022, 3:45 PM
@Nurul
https://github.com/prisma/prisma/issues/14865
n
Nurul
08/18/2022, 7:02 AM
Thanks Jeremy 🙌
6
Views
Open in Slack
Next