-
Notifications
You must be signed in to change notification settings - Fork 196
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
idea(catalog/rest): Separate static and dynamic props #430
Comments
The problem is that the first |
Got it. I have a better idea, let's discuss on the PR. |
BTW should we use a strong-typed Config/Props instead of a Hashmap? Do we have discussions before? |
I like this idea. Please feel free to start a discussion about it. Actually, I'm not sure how many valid options are available in the props. |
It seems that there is no clear definition of all props. |
Current reset catalog's init logic doesn't look good:
We need to:
self.config
)self.config.props
changed)self.config
)self.config.props
changed)self.config
)I suggest separating static and dynamic properties. Keep the configuration and HTTP client static, unchanged. Store dynamic properties separately and merge them only when sending a request. This approach could also help resolve issue #422.
The text was updated successfully, but these errors were encountered: