Dan Haywood created ISIS-933:
--------------------------------

             Summary: Allow the RO viewer to be configured so that it can 
honour or ignore UI hints (in particular, the @Render(EAGERLY) facet).
                 Key: ISIS-933
                 URL: https://issues.apache.org/jira/browse/ISIS-933
             Project: Isis
          Issue Type: New Feature
          Components: Core: Viewer: RestfulObjects
    Affects Versions: core-1.7.0
            Reporter: Dan Haywood
            Assignee: Dan Haywood
            Priority: Minor
             Fix For: core-1.8.0


Currently in Estatio, retrieving a Property entity results in a 2.6Mb response. 
 This is  because its 'Units' collection is annotated as an eagerly rendered.

We expect that most RO clients to be "data" API clients, ie will make their own 
decisions about which data to retrieve and how. 

For this ticket, suggest simply a global configuration setting:

# whether to honor UI hints, in particular Render(EAGERLY).  Default to false.
#isis.viewer.restfulobjects.honorUiHints=false


~~~
In the future, this could be generalized/refined by having the RO client send 
an HTTP Accept header and have the RO viewer server respond appropriately.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to