Retrieves the changelog for a federated graph
npx wgc federated-graph changelog
command allows you to retrieve the changelog for a given federated graph. By default it fetches the latest 10 schema versions from the past 3 days and writes to changelog.json file.
<name>
: The name of the federated graph you want to create. Replace <name>
with the desired name for your federated graph.-n, --namespace
: The namespace of the federated graph (Default: “default”).
-l, --limit
: The number of entries to fetch. Defaults to 10.
-f, --offset
: Used for pagination. Sets the offset from which you want to query.
-s, --start
: The start date in MM-DD-YY
format. Defaults to 3 days ago from current date.
-e, --end
: The end date in MM-DD-YY
format. Defaults to today.
-o, --out
: The destination file for the json output. Defaults to changelog.json
production
and write it to changes.json
file.
production
and write it to changes.json
file.