hey all! I’m trying to query against the `node` ro...
# orm-help
k
hey all! I’m trying to query against the
node
root field and getting a strange result. Using an
id
from a previous query that represents a
Campus
, I’m performing the following query:
Copy code
{
	node(id:"cjh9jy6a5002e0926jhxtjfus") {
    id
    __typename
    ... on Campus {
      id
      name
    }
  }
}
but the result says
__typeName
is
FinancialPaymentDetail
- a totally different type…
Also if I use that same id to query the
campus
root node directly, it works fine.
n
are you using Prisma or Graphcool Framework?
k
sorry, Prisma! just started using it yesterday and re-created our entire backend in about a day 🙌
🤯 2
n
This is a bug, can you describe a reproduction in a new issue here: https://github.com/graphcool/prisma/? 🙂
k
sure thing!
🙌 1
For the record, in case anyone else comes looking, here’s the issue: https://github.com/prismagraphql/prisma/issues/2455
n
awesome thanks @kgoggin!
k
no sweat!