plone / plone.restapi

RESTful API for Plone.
http://plonerestapi.readthedocs.org/
84 stars 73 forks source link

Registering the expandable elements as adaptors defeats the purpose if the service instantiates them directly #1682

Open tiberiuichim opened 10 months ago

tiberiuichim commented 10 months ago

It would be better if the service calls the navigation as an expandable element. This allows overriding the expandable element once without having to also override the navigation service.

https://github.com/plone/plone.restapi/blob/731554b676aa391795a8991dce21d6bce9f866b0/src/plone/restapi/services/navigation/get.py#L193