-
Notifications
You must be signed in to change notification settings - Fork 163
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
Configuration handling & implementation is racy #562
Labels
bug
Something isn't working
Comments
Example stack trace:
|
This was referenced Dec 16, 2024
Merged
This was referenced Dec 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Polaris currently uses Dropwizard and relies on Jackson for configuration, but also ties initialization/setup/business logic into configuration objects.
For example in
PolarisApplicationConfig
there are:These code constructs are racy/error-prone, because literally nothing guarantees that
realmContextResolver
is set to!= null
whensetDefaultRealm()
is invoked.The text was updated successfully, but these errors were encountered: