Skip to content

Commit

Permalink
Fix test failure- lenient schema compatibility checks
Browse files Browse the repository at this point in the history
  • Loading branch information
RishiRajAnand committed Jan 10, 2025
1 parent 1205056 commit 4b0ae8a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ class ProtoIndexParser implements AnnotationMetadataCreator<EntityIndexDescripto

static Configuration.Builder configureBuilder() {
Configuration.Builder builder = Configuration.builder();
builder.annotationsConfig()
builder.schemaValidation(Configuration.SchemaValidation.LENIENT)
.annotationsConfig()
.annotation(INDEXED_ANNOTATION, AnnotationElement.AnnotationTarget.MESSAGE)
.attribute(INDEXED_INDEX_ATTRIBUTE)
.type(AnnotationElement.AttributeType.STRING)
Expand Down

0 comments on commit 4b0ae8a

Please sign in to comment.