schemify icon indicating copy to clipboard operation
schemify copied to clipboard

Feature/schemify get properties parent filters

Open kylereicks opened this issue 7 years ago • 0 comments

Call the filter schemify_get_properties_{$schema} for each of a schema's ancestors when Schemify\Schemas\{Schema}\getProperties is called.

Use case: I wanted to add the post content to the articleBody property for the Article schema and any children like BlogPosting. Currently, if I add a schemify_get_properties_Article filter, it is not called from BlogPosting\getProperties.

kylereicks avatar Sep 13 '17 19:09 kylereicks