restfulobjects / restfulobjects-spec

The Restful Objects specification defines a set of RESTful resources, and corresponding JSON representations, for accessing and manipulating a domain object model.
http://restfulobjects.org
73 stars 10 forks source link

Inlining of aggregated types (cf EF complex types) #7

Open danhaywood opened 11 years ago

danhaywood commented 11 years ago

ver: 1.0.0 raised by: richardpawson

ref: http://restfulobjects.codeplex.com/workitem/35

"The current preferred approach for this is to in-line the complex type - equivalent to if it had been eagerly loaded - but with no self link.

However, this development is dependent upon the RO spec formally defining the structure for in-lined objects."

richardpawson commented 11 years ago

FYI, I am now veering back to the view that this should be handled by the implementation in a manner similar to view models (see https://restfulobjects.codeplex.com/workitem/35 ) - and that as far as RO is concerned the complex/aggregated type is an addressable object.