Skip to content
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

fix: correctly load yml in ConnectionOptionsYmlReader #7743

Merged
merged 1 commit into from Jun 16, 2021

Conversation

imnotjames
Copy link
Contributor

@imnotjames imnotjames commented Jun 15, 2021

Description of change

this uses the correct load function instead of loadAll

Fixes #7531

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • npm run lint passes with this change
  • npm run test passes with this change
  • This pull request links relevant issues as Fixes #0000
  • There are new or updated unit tests validating the change
  • Documentation has been updated to reflect this change
  • The new commits follow conventions explained in CONTRIBUTING.md

@imnotjames imnotjames force-pushed the fix/7531/js-yaml-load branch 2 times, most recently from b0e3804 to 2e426b0 Compare June 15, 2021 04:38
@pleerock
Copy link
Member

Somebody using yml 🤔

this uses the correct `load` function instead of `loadAll`
@imnotjames
Copy link
Contributor Author

Seems that way. I saw it as an easy fix but the tests are weird because they compile.

@imnotjames imnotjames merged commit 57f9254 into typeorm:master Jun 16, 2021
@imnotjames imnotjames deleted the fix/7531/js-yaml-load branch June 16, 2021 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

yml config is broken
2 participants