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 initialization issue #49

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

jorge-ramirez-arredondo
Copy link
Contributor

@jorge-ramirez-arredondo jorge-ramirez-arredondo commented Oct 24, 2024

I was running into an issue where the RouteReactor was not initializing its context values until after the first update. I couldn't figure out an easy way to fix it so I ended up changing how the ContextReactor listens for route changes.

Note: This change also fixes the Route order inversion issue in a more natural way. As a result, in order to maintain the opt-in nature of the fix, I had to simulate the issue by manually reversing the route definitions if the enableRouteOrderFix option isn't set. This technically isn't the exact same issue, but it should simulate the issue well enough that there's time to fix current implementations with the known workaround.

@jorge-ramirez-arredondo jorge-ramirez-arredondo requested a review from a team as a code owner October 24, 2024 19:15
@jorge-ramirez-arredondo jorge-ramirez-arredondo force-pushed the jorge-ramirez-arredondo/FixInitializationIssue branch from cff9bd1 to 047ef82 Compare October 25, 2024 21:34
@jorge-ramirez-arredondo jorge-ramirez-arredondo changed the title Fix initialization issue + Refactor Fix initialization issue Oct 25, 2024
@jorge-ramirez-arredondo jorge-ramirez-arredondo force-pushed the jorge-ramirez-arredondo/FixInitializationIssue branch from 3955424 to f69af5e Compare November 12, 2024 17:17
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.

1 participant