I've found that changes made here have a side effect: custom fields sorting are not working retrieving types schema.
How to reproduce:
create a content with schema interface
move a field before another one from a behavior (directives.order_after(my_field="ILeadImageBehavior.image_caption"))
If you call @types/MyType restapi endpoint, image_caption is after my_field.
If you go in edit from Plone classic interface, image_caption is before my_field.
Removing ignorePrefix=True seems fixing this issue but reverts the old one.
I've found that changes made here have a side effect: custom fields sorting are not working retrieving types schema.
How to reproduce:
If you call @types/MyType restapi endpoint, image_caption is after my_field. If you go in edit from Plone classic interface, image_caption is before my_field.
Removing ignorePrefix=True seems fixing this issue but reverts the old one.
@avoinea any ideas?