This file contains changes and migration steps for Graphback project. Please follow indidivudal releases for more information.
Note - Graphback is still not ready to be used in production.
- Removed redis-subscriptions and use im-memory graphql-subscriptions instead.
- Removed redis dependency from docker-compose.
- Fixed instructions for missing watch command and replaced it with develop
- Fixed issue with not cleaning template and dist folders
- Disabled the GraphQL-JS template due to invalid resolver format.
- Fixed npm release missing template files
- Added ability to generate client side queries according to data model.
- Removed dependency from docker when using sqlite3, changed redis subscriptions to inmemory subscriptions.
- Changed scripts of templates.
- Removed watch command from cli which caused a lot of bugs.
- Fixed problem with creating tables for Int type
- Added new
@disableGen
directive that allows user to disable CRUD operation for single type
- Added new GraphQL-js starter template, that uses GraphQL.js library.
- Added support for SQLite database inside CLI
- Added new Tasks model template
- Configuration in template works now with different databases that are supported by knex library
- Added ability to perform CRUD generation based on configuration flags The generation will now be based on config.json file that will contain properties for all resolver types that need to generated. Please refer to documentation for more information
- Added ability for custom Queries/Mutations/Subscriptions. Users can generate empty resolver stubs for their implementation.
- Modularized resolver output into separate files(based on types) instead of a single one. Also added custom resolvers.
- Changed resolvers output format from a single resolver file to multiple files. Also added custom resolvers in generate
- Dropped generated folder and change structure for template accordingly. Generated content will be now inside
src
folder instead.
- Added Sofa (https://github.com/Urigo/SOFA/) template that allows generating restful API along with GraphQL one.
- Added relationship support to schema and resolvers.
- Strict typing in resolvers.
- Added ts config and check compilation.
- Revamp core to use visitor pattern
- Generate schema with opinionated schema patterns
- Edited resolvers implementations(working)
- removed dependency of
graphql-codegen
version0.18.2
- added
db
andwatch
command
- added more options in
init
command, to inject config
- Initial
schema
andresolvers
generation
- added
init
andgenerate
command