Skip to content
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

Add custom parameters to $count and ODataTypeCast paths' Get operations #305

Merged
merged 5 commits into from
Nov 8, 2022

Conversation

irvinesunday
Copy link
Contributor

Fixes #207

This PR:

  • Adds custom parameters to $count and ODataTypeCast paths' Get operations where either the target navigation property or navigation source has been appropriately annotated with the CustomHeaders property in its ReadRestrictions annotation.
  • Adds a new test class and test methods for DollarCountGetOperationHandler.cs --> DollarCountGetOperationHandlerTests.cs
  • Updates some tests
  • Updates some integration test files

NB: In response to this comment, we already do add custom headers to navigation properties, and index endpoints where appropriate.

@irvinesunday irvinesunday merged commit d1c860a into master Nov 8, 2022
@irvinesunday irvinesunday deleted the fix/is/missing-custom-params branch November 8, 2022 14:30
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.

New $count endpoints in OpenAPI missing parameters
2 participants