Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Add SelectRestrictions to Capabilities #16

Open
JefWight opened this issue Oct 26, 2015 · 2 comments
Open

Add SelectRestrictions to Capabilities #16

JefWight opened this issue Oct 26, 2015 · 2 comments

Comments

@JefWight
Copy link

Similar to how the Capabilities vocabulary allows annotating entity sets with information about when an entity set supports $filter, $orderby, and $expand, it should be possible to express the ability to use $select, and which properties may be explicitly not selectable.

An example of why this is needed:
Some services may have the same entity exposed in different entity sets, with different sets of properties available from the different entity sets. This may happen more often with non-contained entities. For example, a service with both Products and Orders entity sets, where Product can have a collection of Orders it is part of, and Order can have a collection of Products it includes, it may be possible to select all Product properties from /Products, but a limited selection of propertiess from /Orders(id)/Products.

@ralfhandl
Copy link

Hi Jeff,

I'd like to continue this discussion on the odata-comment mailing list.

Thanks in advance!
--Ralf

@ralfhandl
Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants