Graphql-code-generator: parser: "babylon" is deprecated

Created on 3 Aug 2019  路  2Comments  路  Source: dotansimha/graphql-code-generator

Describe the bug
When running graphql-codegen I get the following warning:
{ parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }.

To Reproduce
Steps to reproduce the behavior:
Run graphql-codegen version 1.4.0 with the following codegen.json:

  1. My codegen.yml config file:
{
  "overwrite": true,
  "schema": "./schema/schema.gql",
  "documents": null,
  "generates": {
    "./index.js": { "plugins": ["flow"] },
    "./schema.json": { "plugins": ["introspection"] }
  }
}

Expected behavior
No warning

Environment:

  • OS: macOS 10.14.5
  • @graphql-codegen/...:
  • NodeJS: 10.15.3
core waiting-for-release

Most helpful comment

Fixed in 1.5.0 馃帀

All 2 comments

Fixed in 1.5.0 馃帀

Was this page helpful?
0 / 5 - 0 ratings