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

0.9.0

Compare
Choose a tag to compare
@wtrocki wtrocki released this 22 Sep 20:51
· 2505 commits to master since this release

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 openapi command 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