SchemaChange class
A single detected difference between two schema versions.
Constructors
- SchemaChange({required ChangeSeverity severity, required ChangeKind kind, required String typeName, String? fieldName, String? detail})
-
const
Properties
- detail → String?
-
Extra context (e.g. old → new type rendering).
final
- fieldName → String?
-
The field name (or enum value name) — null for type-level changes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → ChangeKind
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → ChangeSeverity
-
final
- typeName → String
-
The GraphQL type the change belongs to (or the added/removed type's
own name).
final
Methods
-
describe(
) → String -
Human-readable description used by
zfa graphql diff. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited