azure-service-operator
azure-service-operator copied to clipboard
Need to handle additionalProperties in JSON serialization
When serializing an ObjectType that has an additionalProperties field to JSON, we need to flatten the properties inside it into the “parent” type. I’m not sure this is even possible with the built-in JSON Go serialization library, so we might need to look elsewhere.
Where does this come up?
Where does this come up?
Mostly services that have a “map but with some well-known entries” pattern.
We're still interested in doing this.
Have we actually already done this? We should double-check
We haven't done this, but would be good to do.
No change from above
Mostly services that have a “map but with some well-known entries” pattern.
Wondering if there's a way to know which services these are? Maybe we should take a look and get an understanding of how large the problem is to understand how important this is to fix?