DVGraphQLRefusal class
An operation refused for exceeding its depth or cost budget
(DV-EDGE-001).
It is refused whole. A partial answer would be worse: a client cannot tell a trimmed response from a real one, and neither can a cache.
- Implemented types
Constructors
- DVGraphQLRefusal({required String budget, required int limit, required int actual})
-
const
Properties
- actual → int
-
final
- budget → String
-
depthorcost.final - code → String
-
no setter
- excess → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- limit → int
-
final
- message → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toResponse(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited