re: transient collections, I have a possible solution for that. I recently introduced the DomainObjectList as a view model around arbitrary object collections. This is used by the RO viewer if a certain Accep-Header is specified, and removes the need for an RO client to have to handle a special case of standalone lists... instead everything returned by the RO API is always just a domain object (either entity or view model).
Perhaps in v2 we could push this idea deeper into the framework, so that any action that returns a collection is automatically wrapped in a DomainObjectList. The only snag I can see is programmatic calls through a wrapper (ie wrapped target object by WrapperFactory); the caller would expect a collection so the wrapper would need to extract from the DomainObjectList that holds it). On Wed, 12 Sep 2018, 16:55 Andi Huber, <[email protected]> wrote: > @andi-huber <https://github.com/andi-huber> requested your review on: > apache/isis#123 <https://github.com/apache/isis/pull/123> Isis 1976 > rethink object adapters. > > — > You are receiving this because your review was requested. > > > Reply to this email directly, view it on GitHub > <https://github.com/apache/isis/pull/123#event-1841541090>, or mute the > thread > <https://github.com/notifications/unsubscribe-auth/AA-9yaRqVWnsmyQ2OCPynfM1XQ8vwsW0ks5uaS5agaJpZM4Wlrbw> > . > -- DISCLAIMER: This e-mail is from Haywood Associates Ltd (Registered Number 3525455) and it and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any unauthorised use or dissemination of this communication is strictly prohibited. Any information provided to Haywood Associates Ltd shall be retained and used in accordance with our Privacy Statement at http://www.haywood-associates.co.uk/privacy. If you have received this communication in error, please immediately notify the sender by return e-mail message and delete all copies of the original communication. [ Full content available at: https://github.com/apache/isis/pull/123 ] This message was relayed via gitbox.apache.org for [email protected]
