• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Overriding ERRest output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Overriding ERRest output


  • Subject: Re: Overriding ERRest output
  • From: David Avendasora <email@hidden>
  • Date: Wed, 1 Sep 2010 12:03:14 -0400


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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Overriding ERRest output (From: David Avendasora <email@hidden>)
 >Re: Overriding ERRest output (From: Martin Samm <email@hidden>)
 >Re: Overriding ERRest output (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Overriding ERRest output
  • Next by Date: Re: ERAttachment help
  • Previous by thread: Re: Overriding ERRest output
  • Next by thread: Re: Overriding ERRest output
  • Index(es):
    • Date
    • Thread