graphql-compose-mongoose icon indicating copy to clipboard operation
graphql-compose-mongoose copied to clipboard

convertFieldToGraphQL(field, prefix = '', schemaComposer) {

Open smooJitter opened this issue 7 years ago • 1 comments

I'm getting an unexpected token here. Any idea? I'm using the latest version of node (10). My import statement looks like this....

import composeWithMongoose, { convertSchemaToGraphQL } from 'graphql-compose- mongoose/node8';

Here are parts of my package.json

   "graphql": "^0.13.2",
    "graphql-compose": "^4.3.0",
    "graphql-compose-connection": "^3.0.1",
    "graphql-compose-dataloader": "^1.1.2",
    "graphql-compose-mongoose": "^4.1.1",
    "graphql-connection": "^2.0.1",
    "graphql-loader": "^1.2.1",
    "graphql-mongoose": "^0.0.0",
    "graphql-server-express": "^1.3.6",
    "graphql-tools": "^3.0.1",

smooJitter avatar May 13 '18 04:05 smooJitter

Can you provide console.error output with stack traces? It's very difficult to understand what does not work.

Lib preview: https://unpkg.com/[email protected]/

nodkz avatar May 18 '18 07:05 nodkz