2.5.0 - June 18th, 2022
Added
-
Support for concatenating multiple schema files before uploading to Fauna. This means that you can define queries, mutations, inputs and collections in separate files. These files will then merged together into a single file before uploading it to Fauna. This requires the
schemaDir
option to be specified in.fauna.json
. -
Init command. This makes it easier to get started with FGU. You simply run
npx fgu init
, answer the questions, and you're all set. -
JSON schema to make config writing easier. Add
"$schema": "node_modules/fauna-gql-upload/config.schema.json"
as the top property in your.fauna.json
file to use it, or initialize the project with the init command mentioned above. -
Support for specifying custom refs when uploading data. Thanks to @employee451 for suggesting this.