-
Type: Task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Tags:
-
Sprint:nxfit 8.4.5
-
Story Points:5
Allow to register unmarshallers based on the 'entity-type' field.
Those unmarshallers will be used when retrieving a JSON response with an 'entity-type' field.
Add default ones for:
- document
- documents
- user
- group
- directory
Let the user be able to register custom ones:
Nuxeo.registerUnmarshaller('document', DocumentMarshaller); Nuxeo.registerUnmarshaller('user', UserMarshaller); ...
Those unmarshallers will be called at the same place, in Nuxeo#_http method based on the resolved response.
- is required by
-
NXMOB-135 Revert document proptype of DocumentContent to Nuxeo.Document
- Resolved