-
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
fix: Implement custom schema for config.affinity.nodeSelector
#752
Conversation
I would be happy to release a new version, because there are now multiple things which are unreleased. |
I would however do one additional PR regarding the changelog before bumping the version. |
I already changed the wording the "bugfix platform version", sorry for the confusion. No objections against op-rs release whatsoever |
Co-authored-by: Techassi <[email protected]>
config.affinity.nodeSelector
config.affinity.nodeSelector
I tried diffing the output before/after this patch: https://gist.github.com/nightkr/9446c9e3747aa6f58ce616cd86c1f13e As far as I can tell, the actual issue here is that schemars doesn't propagate |
This looks like GREsau/schemars#259. |
GREsau/schemars#275 generates the schema https://gist.github.com/nightkr/f7f06df7a14286a9b682ad6be7e3da14, which should also contain the correct |
Another workaround is to add |
Many thanks for tracking this down @nightkr! What would you suggest as the next step?
|
@sbernauer I'd say 2 and add a tracking issue for 3. schemars doesn't look too lively these days so we shouldn't block on it. |
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.
I trust that this works, and as I understand it we simple remove the [schemars(deny_unknown_fields)]
as soon as that schemars issue is resolved.
Description
Fixes stackabletech/issues#554.
IMHO it's not worth an immediate platform bugfix release, as there is a workaround available.
The effect can be seen e.g. in Trino:
Definition of Done Checklist
Author
Reviewer
Acceptance