Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

getDescription is not a function after generating graphql service #41

Closed
2 tasks
b3tts32 opened this issue Aug 8, 2019 · 1 comment
Closed
2 tasks

Comments

@b3tts32
Copy link

b3tts32 commented Aug 8, 2019

Steps to reproduce

Generate graphql service using feathers-plus generate graphql

Start project

(First please check that this issue is not already solved as described
here
)

  • Tell us what broke. The more detailed the better.
  • If you can, please create a simple example that reproduces the issue and link to a gist, jsbin, repo, etc.

===== configuring graphql service for services.

/Users/rod/Documents/Feathers/bncrmserver/node_modules/graphql-toolkit/dist/commonjs/epoxy/typedefs-mergers/comments.js:36
const comment = graphql_1.getDescription(node, { commentDescriptions: true });
^

TypeError: graphql_1.getDescription is not a function

Expected behavior

Tell us what should happen

Feathers project should start

Actual behavior

Tell us what happens instead

Receive getDescription is not a function error

System configuration

Tell us about the applicable parts of your setup.

Module versions (especially the part that's not working):

feathers-plus graphql 1.10.0

NodeJS version:
v8.16.0

Operating System:

MacOs

Browser Version:

React Native Version:

Module Loader:

@b3tts32
Copy link
Author

b3tts32 commented Aug 8, 2019

I tried this with a fresh project using the following steps

  1. Generate project using feathers-plus generate app
  2. Generate authors service using feathers-plus generate service
  3. Added "name" property to authors.schema
  4. Generate posts service using feathers-plus generate service
  5. Added "message" and "author" property to posts.scehma
  6. Test starting the app successfully
  7. Generate graphql using feathers-plus generate graphql
  8. Try starting app with the getDescription is not a function error

@daffl daffl closed this as completed Oct 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants