-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@vendure/create
TypeORM SSL Option
#1205
Comments
Thanks for the report. I think adding an ssl option to the prompts is a good solution. |
Hey any plan on this ? on when it will be released ? |
Hi, thanks for bringing this back to my attention. I'm actually not that familiar with the ssl option, and looking at the docs for node-postgres and for mysql it looks like they take an object which specifies paths to certs. It's not clear to me what setting it to Do you have an idea about this? |
yes i do , actually its just required if you are using neon or azure postgres so it would be helpful if ssl mode would be set to true , at most it gonna affect the connection protocol |
Is your feature request related to a problem? Please describe.
Yes, currently my
npx @vendure/create
log looks like the following, and I'm certain it's due to SSL being off / false (and should not be strict in development).Describe the solution you'd like
An SSL option added into the the following user response gather and the value integrated into all of the relevant area's when initiating the project and then creating the
dbConnectionOptions
config.vendure/packages/create/src/gather-user-responses.ts
Lines 23 to 107 in 9bb676e
Additional context
Even though the
npx @vendure/create
run does error, it does still generate the project. Modifying thevendure-config.ts
filesdbConnectionOptions
to includessl: true
is a valid / hacky solution, although it does not populate the database with some sample product data if that option was selected during the create process.The text was updated successfully, but these errors were encountered: