-
Notifications
You must be signed in to change notification settings - Fork 25
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
History Service: Make it possible to push multiple consumer locations #441
Labels
Milestone
Comments
Closed
New Proposal as discussed with Stefan: export interface ConsumerLocation {
readonly historyKey: string;
readonly location: history.Location;
}
export interface RootHistoryV2 {
readonly location: history.Location;
push(location: history.Location): void;
replace(location: history.Location): void;
createHref(location: history.Location): string;
createLocation(...consumerLocations: ConsumerLocation[]): history.Location;
}
export interface HistoryServiceV2 {
readonly historyKey: string;
readonly history: history.History;
readonly rootHistory: RootHistoryV2;
} |
Shouldn't |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To trigger a navigation from a Feature App to another page that composes a different set of Feature Apps, some kind of navigation Feature Service that encapsulates integrator routing logic would be needed.
Such a Feature Service would have the need to collect consumer locations from multiple Feature Services, and then push a root location that combines these consumer locations to the root history.
To accomplish that, the following changes to the History Service are proposed:
The text was updated successfully, but these errors were encountered: