[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: NonFilterableNavigationProperties?
Just noticed that the example was oversimplified, adapted below From: odata@lists.oasis-open.org <odata@lists.oasis-open.org>
On Behalf Of Handl, Ralf Hi all, How do I express that I donât support paths with a certain navigation property in $filter? I thought we had added NonFilterableNavigationProperties to FilterRestrictions as a twin to NonFilterableProperties, but apparently we havenât. Fun part:
NavigationRestrictions/RestrictedProperties[_qux]/FilterRestrictions/Filterable=false doesnât seem appropriate because we donât have filter restrictions when actually
navigating along _qux, and NavigationRestrictions/RestrictedProperties[_bar]/FilterRestrictions/Filterable=false doesnât seem correct because _bar is single-valued, so navigating along _bar leads to something that isnât filterable anyway. We only have restrictions when not navigating and just âlooking along _bar or _quxâ in a filter on the navigation source. The only correct way to express this seems to be FilterRestrictions/NonFilterableNavigationProperties:[_bar,_qux]. I think we discussed a similar scenario some time ago in a TC call and I canât find it. Thanks in advance! In preparing for battle |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]