Open pvgenuchten opened 1 year ago
The pattern of having contacts and distributions as key-value pairs is common in mcf. However this pattern is problematic in mdme. the build form from json schema is not able to manage this pattern in json-schema:
build form from json schema
"contact": { "title": "Contacts", "patternProperties": { "^.*": { "type": "object",
I wonder if there are other scenario's with the same issue (there is for example the PR with multiple contacts having the same role which is used as unique key).
I understand this is a massive breaking change, but just curious to hear your thoughts.
in this pr i convert from object to array at load and back to object at save.... it works, but less optimal
The pattern of having contacts and distributions as key-value pairs is common in mcf. However this pattern is problematic in mdme. the
build form from json schema
is not able to manage this pattern in json-schema:I wonder if there are other scenario's with the same issue (there is for example the PR with multiple contacts having the same role which is used as unique key).
I understand this is a massive breaking change, but just curious to hear your thoughts.