authzed / spicedb-operator

Kubernetes controller for managing instances of SpiceDB
Apache License 2.0
63 stars 27 forks source link

Fix array patching #226

Closed ecordell closed 1 year ago

ecordell commented 1 year ago

If a patch modifies an existing array, and the entries of the array contain optional fields, the new entries previously would retain the optionally set fields from the entries that were at that index before the patch.

This issue was visible in some of the existing test cases, which are now fixed.