Table of Contents

Class AvroCompatibilityResult

Namespace
AvroSharp.Schemas
Assembly
AvroSharp.dll
public sealed class AvroCompatibilityResult
Inheritance
AvroCompatibilityResult
Inherited Members

Properties

Incompatibilities

Gets every incompatibility, in the order the schemas are walked. The warnings are in Warnings.

IsCompatible

Gets a value indicating whether the check passes: the verdict is Compatible, or Partial with AllowPartial, and there are no warnings when WarningsAsErrors is set.

ReaderSchema

Gets the schema the data is read with.

Verdict

Gets whether the data can be read: the schemas' verdict, which the options don't change (they change IsCompatible).

Warnings

Gets the warnings: differences the specification allows that can change the values read.

WriterSchema

Gets the schema the data is written with.

Methods

ThrowIfIncompatible()

Throws when IsCompatible is false, with every issue in the message.

ToString()

Returns the verdict, then one line per issue and warning.