Skip to content

Cosmos: cleanup CosmosModelValidator to use helper methods rather than FindAnnotation in various validation methods #35897

Closed
@maumar

Description

@maumar

Per #35868 (comment)

example: we should be doing

index.IsFullTextIndex() == true

rather than:

index.FindAnnotation(CosmosAnnotationNames.FullTextIndex) != null

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions