Nice Idea
See original GitHub issueI just tried to run your simple example. Looks like its only generating the books files. This the error im getting:
$ babel-node create.js
(node:14463) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT:no such file or directory, open '/Users/shingdev/code/graphql-metadata copy/src/createGraphqlSchema/resolverTemplate.js'
(node:14463) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
- test dir tree
$ tree
βββ create.js
βββ index.js
βββ node_modules
βββ package-lock.json
βββ package.json
βββ projectSetupA.js
βββ test
βββ testProject1
βββ graphQL
βββ Book
βββ Book.js
βββ schema.js
3 directories, 2 files
FYI
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Nice idea definition and meaning | Collins English Dictionary
Nice idea definition: An idea is a plan, suggestion , or possible course of action. | Meaning, pronunciation, translations and examples.
Read more >Nice idea Definition & Meaning - Merriam-Webster
The meaning of NICE IDEA is a good idea. How to use nice idea in a sentence.
Read more >Nice Idea - YouTube
Nice Idea. 171K views 16 years ago. muujguu. muujguu. 277 subscribers. Subscribe. 336. I like this. I dislike this.
Read more >Nice Idea synonyms - 227 Words and Phrases for Nice Idea
Synonyms for Nice idea Β· great idea Β· right idea Β· best idea Β· excellent idea Β· fine idea Β· brilliant idea Β·...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ugh solution was so simple, too π¦
https://github.com/substack/node-mkdirp
Will try to get a patch version out tonight
0.1.1 is released π
Hereβs a fully working repo that generates the schema and resolvers
https://github.com/arackaf/test-mongo-graphql-starter
after npm installing, either run
node index
to see it work with the ESM loader, ornode runItNode
for the pure Node solution. Iβll prolly polish this repo up and wind up adding it to the docs