docs: @VisibleForTesting
  	static <T> TypeSerializerSchemaCompatibility<T> resolveSchemaCompatibility(
  		Schema writerSchema,
  		Schema readerSchema) {
  
  		if (Objects.equals(writerSchema, readerSchema)) {
  			return TypeSerializerSchemaCompatibility.compatibleAsIs();
  		}
  
  		final SchemaPairCompatibility compatibility =
  			SchemaCompatibility.checkReaderWriterCompatibility(readerSchema, writerSchema);
  
  		return avroCompatibilityToFlinkCompatibility(compatibility);
  	}