Skip to content

v2.5.0 - Concatenate schema files, init command and JSON schema

Latest
Compare
Choose a tag to compare
@Plazide Plazide released this 18 Jun 12:49
· 2 commits to master since this release

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.