marcosschroh opened a new pull request, #2587: URL: https://github.com/apache/avro/pull/2587
## What is the purpose of the change Do not panic when calculating schemas compatibilities. The return type is a `Result` which in case of an `error`the user can get feedback about the compatibility issue, otherwise the compatibility will be `Ok()`. Related to [AVRO-3904](https://issues.apache.org/jira/browse/AVRO-3904) ## Verifying this change This change is partially covered by existing tests, such as `test_union_resolution_no_structure_match, test_missing_field`. WIth the changes I am adding a new test to check the compatibility error and all the existing test will do the same in case of `Err` ## Documentation - Does this pull request introduce a new feature? (no). The `SchemaCompatibility::can_read` return type has been changed from `bool` to `Result` so this should be in the documentation as well. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@avro.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org