Checks for breaking changes and composition errors in the proposed schema for the monograph.
npx wgc monograph check
command checks for breaking changes and composition errors in the proposed schema. This validation process ensures that the new schema you intend to use does not introduce any issues that could negatively impact the monograph.
<name>
: The name of the monograph for which you want to perform the validation check.-n, --namespace
: The namespace of the monograph (Default: “default”).
--schema <path-to-schema>
: The path to the new schema file that you want to validate. This file should contain the complete schema definition in the GraphQL Schema Definition Language (SDL) format.
CHANGE | TYPE | DESCRIPTION |
---|---|---|
BREAKING | FIELD_REMOVED | Field ‘email’ was removed from object type ‘User’ |
NON-BREAKING | FIELD_ADDED | Field ‘emailID’ was added to object type ‘User’ |
npx wgc monograph check
command interacts with the Cosmo platform’s control plane to perform the validation checks.