Skip to content

Shows an Unhandled Promise in Console on Every Request

Notifications You must be signed in to change notification settings

tzarger/ravendb-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RavenDB and GraphQL Promise Issue

Install server dependencies

yarn

To start the server

yarn dev

Go to http://localhost:4000/playground and enter the code below, then press the round Play button in the middle to execute the calls.

query regionById {
  regionById(Id: "regions/1-A") {
    Name
  }
}

query regions {
  regions {
    Name
    Territories {
      Code
      Name
    }
  }
}

You should see the unhandled promise in the terminal window where you launched using 'yarn dev'

(node:52167) Warning: a promise was created in a handler at domain.js:101:23 but was not returned from it, see http://goo.gl/rRqMUw
    at Promise.then (/Users/Troy/Development/RavenDB/ravendb-graphql-troy/node_modules/bluebird/js/release/promise.js:125:17)

About

Shows an Unhandled Promise in Console on Every Request

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published