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

Fixes #2861: Pass the IServiceProvider to ODataUriParser #2863

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

xuzhg
Copy link
Member

@xuzhg xuzhg commented Nov 20, 2024

Fixes #2861: Pass the IServiceProvider to ODataUriParser

@gathogojr
Copy link
Contributor

@xuzhg Add a test to verify that if request container is injected, it is used as expected

@xuzhg
Copy link
Member Author

xuzhg commented Nov 21, 2024

@xuzhg Add a test to verify that if request container is injected, it is used as expected

I tried, but it seems it's hard to construct such test. I am failed.

…ataResourceDeserializerHelpers.cs

Co-authored-by: John Gathogo <[email protected]>
@robertmclaws
Copy link
Collaborator

Maybe try injecting a different placeholder service type into each container, and then test that the right placeholder service is in the container that the ODataUriParser is using.

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.

Microsoft.AspNet.OData 7.7.5.0 - ODataResourceDeserializer to take in IServiceProvider
3 participants