This repository was archived by the owner on Apr 17, 2023. It is now read-only.
0.9.0
Graphback-cli
Breaking changes
Templates rely on graphback.json file. Please rename your config.json to graphback.json and add additional configuration entries
"folders": {
"model": "./model",
"resolvers": "./src/resolvers",
"schema": "./src/schema",
"client": "./client/src/graphql"
}Graphback-CLI
Features
graphback openapicommand provides a way to migrate OpenAPI definition to GraphQL schema
Graphback
Features
- Support for Interfaces in GraphQL schema
GraphQL Schema now supports interfaces that can be used to ensure consistency of the data.
Example:
interface Searchable {
searchPreviewText: String!
}
interface Item {
price: Int!
}
type Movie implements Searchable & Item {
directory: String!
searchPreviewText: String!
price: Int!
}NOTE: Interfaces will not be taken into consideration when generating resolvers and database