Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plan ¶
type Plan struct {
// contains filtered or unexported fields
}
Plan binds JavaScript comparator declarations to one reflected schema. It is immutable after construction and safe to share across comparisons.
func (*Plan) Compare ¶
func (p *Plan) Compare( ctx context.Context, log *slog.Logger, evaluator *javascript.Evaluator, method protoreflect.MethodDescriptor, runComparators bool, referenceJSON, candidateJSON []byte, ) (differences []string, err error)
Compare applies the plan to one response pair using the request's evaluator.
Click to show internal directories.
Click to hide internal directories.