-
Notifications
You must be signed in to change notification settings - Fork 64
Use containment together with RequiresExplicitBinding annotation to check whether to append bound operations to navigation properties
#430
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
Conversation
|
|
||
| // So far, we only consider the non-containment | ||
| Debug.Assert(!NavigationProperty.ContainsTarget); | ||
| //Debug.Assert(!NavigationProperty.ContainsTarget); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commented out code
src/OoasGui/OoasGui.csproj
Outdated
| <PackageReference Include="Microsoft.CSharp" Version="4.7.0" /> | ||
| <PackageReference Include="Microsoft.OData.Edm" Version="7.18.0" /> | ||
| <PackageReference Include="Microsoft.OpenApi" Version="1.6.9" /> | ||
| <PackageReference Include="Microsoft.OpenApi" Version="1.6.4" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rebase, I'm not sure why we're downgrading dependencies here.
src/OoasGui/MainForm.cs
Outdated
| oasRichTextBox.WordWrap = false; | ||
|
|
||
|
|
||
| verifyEdmModelcheckBox.Checked = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably need to double check if this change is intended as well.
39a325d to
5c97ab1
Compare
|
SonarCloud Quality Gate failed.
|











Fixes #429
This PR:
Org.OData.Core.V1.RequiresExplicitBindingbefore falling back on the containment check for the target navigation property.Org.OData.Core.V1.ExplicitOperationBindingswill need to be provided on the target navigation property with the said operation contained in the annotation collection for this method to be allowed.