-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$expand is reported as enum while it is actually string #197
Comments
If we updated the schema to be like this it would allow us to provide a list of properties that are expandable but also indicate that each expand property could be a more complex syntax. schema:
uniqueItems: true
type: array
items:
anyOf:
- enum:
- '*'
- serviceAnnouncement
- type: string Thoughts? |
adding some more context here due to currently expand, orderby, select are projected as arrays of enums. e.g. projecting all possibilities for all sub-properties combinations would lead to huge and hard to read enums I propose we simply project those three as arrays of strings instead. Which will have the additional benefit of making Microsoft Graph descriptions quite smaller too. |
We do have a hard dependency on that though, GE relies on this to auto completion. |
+1 |
Current behavior:
$expand is enum.
Expected behavior:
$expand is string because you can have complex expressions in $expand like for example
$expand=Groups($expand=Members)
The text was updated successfully, but these errors were encountered: