On Sep 1, 2010, at 11:41 AM, Mike Schrag wrote:

>> So I want to override not just what the entities are called (just for this 
>> one request - not for all requests against Account and Identity) but I also 
>> want to flatten some of the relationships and rename attributes.
> I would make a non-EO and map them in and out. I suppose we might be able to 
> add some syntax to ERXKeyFilter to do flattening, but it seems like that's 
> just s recipe for complication. At some point it just isn't the EO graph -- 
> it's some view of the EO graph -- and that sounds, to me, like a new entity 
> type.

Whew! That's where I ended up, too. This is not a representation of the EOF 
object graph anymore. Trying to force ERRest to perform contortions in this  
situation is going to be far more work than just creating a non-EO class and 
then pass in all the pieces and let ERRest process that into an XML file.

Thanks Mike!

Dave
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to