Hi Bertrand,
On Wed, Jul 3, 2013 at 8:55 AM, Bertrand Delacretaz <[email protected]>wrote: > hi Justin, > > On Wed, Jul 3, 2013 at 2:41 PM, Justin Edelson <[email protected]> > wrote: > >...I would like to see condition metadata provided > > in the @Adapter annotation... > > I'm generating that, see the bottom of this SLING-2938 screenshot > which describes an Adapter method: > https://issues.apache.org/jira/secure/attachment/12590436/console.jpg > > Does that work for you or are you thinking of something else? > I was thinking @Adapter("if the resource type is slingbucks/list") or @Adapter(condition="if the resource type is slingbucks/list"). I think what you have in that screenshot is good default behavior, but we should let the implementor provide additional metadata if they feel it is appropriate. Justin > > -Bertrand >
