You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
6/12 updates:
It was suggested to use ReadRestrictions, ReadRestrcitionsByKey, and IndexableByKey as opposed to Navigability annotations as they provide more control and specified behavior. Navigability is more or less a legacy annotation, however it is still used for a specific case in this PR as it's behavior is useful.
For CalendarView and Instances the same behavior was required, they needed to be either the last segment in the uri path or not be present at all.
Readable = true -> means that it can be read as the last path segment (ie paths ending in \calendarView are maintained )
readableByKey = -> false means that the last path segment cannot be an entity index (ie paths ending in \calenderView\{event-id} are removed)
indexableByKey = false -> means that the entity cannot be indexed anywhere in the segment (ie paths containing ...\calenderView\{event-id}\... anywhere are removed)
For exceptionOccurrences the decision was made to maintain Navigability/None because exceptionOccurrences needs to be fully removed everywhere from all uri paths as it is not a valid and should be specified in the Query portion at the end of the uri path.
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add navigability annotations for 'instances' and 'exceptionOccurrences' that restrict the Navigability of these navigation properties.