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

All NavigationPropertyRestrictions nullable #286

Closed

Conversation

HeikoTheissen
Copy link
Contributor

@@ -272,16 +272,16 @@ supported:
<Property Name="SortRestrictions" Type="Capabilities.SortRestrictionsType">
<Annotation Term="Core.Description" String="Restrictions on orderby expressions" />
</Property>
<Property Name="TopSupported" Type="Edm.Boolean" Nullable="false" DefaultValue="true">
<Property Name="TopSupported" Type="Edm.Boolean">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<Property Name="TopSupported" Type="Edm.Boolean">
<Property Name="TopSupported" Type="Edm.Boolean" Nullable="true">

Better state explicitly that we mean it and didn't just forget it.

And maybe describe what null/omission means.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better state explicitly that we mean it and didn't just forget it.

Only for these two, or also for all others?

And maybe describe what null/omission means.

Isn't that already said?

<Annotation Term="Core.LongDescription" String="Restrictions specified on an entity set are valid whether the request is directly to the entity set or through a navigation property bound to that entity set. Services can specify a different set of restrictions specific to a path, in which case the more specific restrictions take precedence." />

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All four that were touched in this PR, please

@HeikoTheissen
Copy link
Contributor Author

TC 2025-01-22 decided against this incompatible change.

@HeikoTheissen HeikoTheissen deleted the NavigationRestrictions-nullable branch January 23, 2025 07:43
HeikoTheissen added a commit to oasis-tcs/odata-openapi that referenced this pull request Jan 23, 2025
HeikoTheissen added a commit to oasis-tcs/odata-openapi that referenced this pull request Jan 23, 2025
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.

Non-nullable restrictions on entity sets or navigation property paths
2 participants