Re: classDescriptionForDestinationKey returning Object instead of the good class
Re: classDescriptionForDestinationKey returning Object instead of the good class
- Subject: Re: classDescriptionForDestinationKey returning Object instead of the good class
- From: Mike Schrag <email@hidden>
- Date: Fri, 20 May 2011 08:25:42 -0400
> Now, the problem is that the "commits" array is always empty in the response, even if I pass an array with two commits in them. I found out that the problem is because a commit have a "id" attribute, so ERRest try to find an object with this id. So I removed "id" from the request just to see how far it will go, and I'm getting those:
you can set a new ERXRestFormatDelegate on the json format to redefine what the "id" key is ... we should probably convert that over to be a property lookup in the ERXRestFormatDelegate constructor.
> What do I need to do in my class so that the descriptor returns a IndexedPropertyDescriptor instead of PropertyDescriptor? Both GHPayload and GHCommit have getters starting with "get" (I thought the problem was there, before I didn't have any "get" in from the getters name).
indexed properties aren't supported in the public wonder version .... try on my repo and see if it behaves differently?
ms _______________________________________________
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