Hi again Luiz,

You mentioned you know you can do this manually, that's the only way I
know of apart from overriding the parser to look for patterns in the
key string.

I generally create custom ERXKey -> methods for this.

You could also (as you also mentioned) just use the qualifier in your
request URIs to filter out Address objects.

--
Matt
http://logicsquad.net


On Wed, Aug 17, 2016, at 03:28 AM, Luiz Alfredo Carrara Bertusso wrote:
> Hi.
> Can I filter to-many relationships using a qualifier in REST
> controller actions?
>
> I have an object named Party that has a list of Addresses, this
> Address has a field that can either be null or it can have be filled,
> when I try to list the addresses related to a party I'd like getting
> only the addresses that have a certain field filled.
>
> Can I use qualifier to restrict my result? I know i can handle this
> manually, but is there an existing way of getting the filtered list?
>
> Thanks.
> _________________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/matt%40logicsquad.net
>
> This email sent to [email protected]

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

This email sent to [email protected]

Reply via email to