- 🇨🇦Canada jibran Toronto, Canada
You can always write a custom plugin. I feel like this issue is a 'won't fix'.
- Status changed to Closed: won't fix
over 1 year ago 12:34am 25 May 2023
I want to provide field level validation/transforms on nested JSON fields.
eg.
Validate data.parent.name is NotBlank.
{
"data": {
"a_field": "blah",
"parent": [
{"name": "child"},
...
]
}
}
Something like this would be nice:
my_custom_pipeline:
validations:
field:
a_field:
NotBlank: {}
parent[*].name:
NotBlank: {}
Closed: won't fix
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
You can always write a custom plugin. I feel like this issue is a 'won't fix'.