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(scully): fix premature compilation of the config #1158

Merged
merged 1 commit into from
Dec 3, 2020

Conversation

SanderElias
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Ctode style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Other... Please describe:

What is the current behavior?

Config was still compiled when importing from Scully. This can lead to unforeseen side-effect. especially while testing.
(eager promises are a thing... sigh)

Issue Number: N/A

What is the new behavior?

Config is only compiled when Scully is running. Not when importing things.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@SanderElias SanderElias linked an issue Dec 3, 2020 that may be closed by this pull request
@jorgeucano jorgeucano merged commit ff03767 into main Dec 3, 2020
@jorgeucano jorgeucano deleted the sander/fixPrematureConfigComiplation branch December 3, 2020 13:38
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.

Config Compiling when Using Logging
2 participants