Skip to content
RAGRAF

ragraf_contract_diff

Edition: enterprise Capability: contract-pin Operation page: contract_diff

What it does

Changes to the contract between two releases: what appeared, what disappeared and what changed, with breaking and compatible kept apart

What problem it solves

Shows how an operation answer differs from the pinned contract, before a client notices.

How to call it

ragraf_contract_diff()
ragraf -p config/ragraf.yaml query contract_diff

The ellipsis stands for a value the agent supplies; optional parameters can be omitted.

Parameters

Name Type Default
beforestr''
afterstr''

What it returns

The answer is assembled by the operation and described by the envelope.