Fix schema utils handling of nested arrays#5685
Conversation
27bf94e to
6e9d0d6
Compare
3c652b5 to
0f49782
Compare
3ef0c78 to
09486a7
Compare
This test is a reproducer for #5684
09486a7 to
3413a82
Compare
09d8050 to
1d27898
Compare
|
I added a reproducer test for #5684 in 3413a82 which you can see failing in CI here: Then I refactored I also left a few TODOs where I noticed some schema features like edit: well, that makes this bug fix sound more straightforward than it was. See #5684 (comment) for more on the other things I tried before coming up with this. |
amanda11
left a comment
There was a problem hiding this comment.
LGTM, and great to have the test case so we don't suffer problem again.
Fixed schema utils to more reliably handle schemas that define nested arrays (object-array-object-array-string) as discovered in some of the ansible installer RBAC tests. This includes a test that reproduced the error so we don't hit this again.
Closes #5684