forked from OData/odata.net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Description of problem: Suppose there is a function getCurrentCustomer() whose EntitySetPath is not defined, if the request URL is /getCurrentCustomer()/oneNavigationProperty, the ODataPathParser.Parse() will throw NullReferenceException as the current code requires EntitySetPath to be specified on Function that returns an enitty type. Description of fix: As the EdmNavigationSource is not required for NavigationPropertySegment, we do not need to require the TargetEdmNavigationSource.
- Loading branch information
1 parent
975280f
commit decf4fd
Showing
3 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters