-
Notifications
You must be signed in to change notification settings - Fork 15
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
refactor(layer-categories): fetch layer categories from external service #917
Conversation
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.
We should provide a default behavior for stadtnavi instances not yet providing a specifiv layerCategoriesURL.
|
||
const context = dispatcher.getContext(); | ||
|
||
fetch(context.config.layerCategoriesUrl) |
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.
This will break for other stadtnavi instances, no? I think we should fall back to a minimal default config here. Let's discuss how it should like
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.
No this won't break other instances, because they are not using external provided layer config at all.
b511c39
to
f84fc3e
Compare
f84fc3e
to
6f38a23
Compare
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.
829e986
to
09f7af6
Compare
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, thanks.
closes #902