Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

0.10.0

Compare
Choose a tag to compare
@craicoverflow craicoverflow released this 06 Jan 12:45
· 2036 commits to master since this release
8dd9c51

BREAKING changes for CLI/ and runtime.

Graphback-CLI

  • Removed init method

Init method is no longer available. To start new boilerplate project
please use graphql-cli init command instead that now incorporates Graphback.

Graphback

  • Added runtime layer

Runtime layer gives developers ability to run GraphQL server basing on input model
without code generation. All resolvers are created at runtime giving developers ability to update applications
on the fly. For more information please check official documentation for runtime layer.

  • Deprecating graphback as way to interact with the Graphback ecosystem

Graphback package offers multiple helpers however to fully configure all generators and other capabilities
developers can use individual packages:

@graphback/codegen-client
@graphback/codegen-resolvers
@graphback/codegen-schema
@graphback/core
@graphback/runtime
graphql-migrations

GraphQL-Migrations

  • Added a new library graphql-migrations for executing database migrations.

  • migrateDB directly compares the input model with the current database and uses the generated diff to update the database structure. This mode does not generate any migration metadata.

  • migrateDBUsingSchema updates the database by comparing the input model with the previous model. This mode generates migration metadata which is persisted to the local filesystem and to the database.