Changelog
Retrieves the changelog for a federated graph
Usage
Description
The 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.
Parameters
<name>
: The name of the federated graph you want to create. Replace<name>
with the desired name for your federated graph.
Options
-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
Examples
Fetch first 10 changes from 8th August to 31st August for the graph production
and write it to changes.json
file.
Fetch the next 10 changes (after the ones in the previous example) from 8th August to 31st August for the graph production
and write it to changes.json
file.
Sample output
Last updated