-
Notifications
You must be signed in to change notification settings - Fork 88
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
[🫒 backport] fix: use getConfig in order to support runtime configuration #287
[🫒 backport] fix: use getConfig in order to support runtime configuration #287
Conversation
Why does that test fail here, but not in master? Weird. |
@arbrandes only because I haven't updated this PR with Ghassan's fix yet 😛 |
f92c391
to
30c5b2f
Compare
Pushed updated commits, |
30c5b2f
to
94a5ec4
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## open-release/olive.master #287 +/- ##
=============================================================
Coverage ? 100.00%
=============================================================
Files ? 109
Lines ? 1264
Branches ? 248
=============================================================
Hits ? 1264
Misses ? 0
Partials ? 0 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
…#286) Before, gradebook was reading config from `process.env` directly, which locked the app into using only static (build-time) configuration. In order to enable dynamic (runtime) configuration, we update gradebook to use frontend-platform's standard configuration interface: `mergeConfig()` and `getConfig()`. Bumps version from 1.5.0 to 1.6.0. (I would normally just do a patch release for a fix, but the version was hasn't been bumped for a while, so adding in full runtime configuration support seemed like it warranted a proper minor version bump.) Co-authored-by: Ghassan Maslamani <ghassan.maslamani@gmail.com>
94a5ec4
to
bdfb2a6
Compare
@arbrandes Thanks for the review on the master PR! This one's ready for you too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Backport of #286. Please use that PR for details & discussion.