KEMBAR78
Manually using ODataQueryOptions.Validate and setting SelectExpandQue… by Zoe-ms · Pull Request #524 · OData/WebApi · GitHub
Skip to content

Conversation

@Zoe-ms
Copy link
Contributor

@Zoe-ms Zoe-ms commented Oct 12, 2015

…ryOption.LevelsMaxLiteralExpansionDepth #516

Although SelectExpandQueryOption.LevelsMaxLiteralExpansionDepth is used to control the actual expansion depth for each request. Although it is for internal use, but it is public so we cannot remove it. In the fix, the value of LevelsMaxLiteralExpansionDepth can be set manually or it will be set automatically to ODataValidationSettings.MaxExpansionDepth.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move to head of the class

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not see the necessity. Keep consistent with other classes.

@xuzhg
Copy link
Member

xuzhg commented Oct 14, 2015

others looks good to me

@Zoe-ms Zoe-ms merged commit 3a3ef57 into OData:master Oct 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants