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 #3114: Fix the StackOverflow exception when retrieve Partner on navigation property from big CSDL model #3121

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xuzhg
Copy link
Member

@xuzhg xuzhg commented Nov 13, 2024

Fixes #3114: Fix the StackOverflow exception when retrieve Partner on navigation property from big CSDL model

Example.Database.Use has lots of navigation properties.When retrieving the partner on any navigation property, it recursively calls 'ComputePartner' again and again, finially, it throws StackOverflow Exception.

The PR is to cache the Partners for navigation properties when using. And use the cache to build the partner when retrieving the parter.

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.

Stackoverflow Exception when resolving Partners in OData contract (xml)
2 participants