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 <git@techassi.dev>
config.affinity.nodeSelectorconfig.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. |
NickLarsenNZ
left a comment
There was a problem hiding this comment.
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