What can I be doing wrong when using the Playgroun...
# orm-help
e
What can I be doing wrong when using the Playground everything works fine but when using the same thing in code it doesn't More precise: Inside the GraphQL Playground I am able to Query a Group which has many user, I can query the users through the group so I get a response like so:
Copy code
"data": {
    "groups": [
      {
        "id": "cjmn4jupo02qy0a41c1qswkaj",
        "name": "Group1",
        "user": {
          "id": "cjmn4jups02qz0a41a0ukpm32",
          "email": "<mailto:derboss@live.de|derboss@live.de>",
          "group": {
            "id": "cjmn4jupo02qy0a41c1qswkaj"
          }
        }
      },
That works fine. But if I want to do in code something like this:
Copy code
const user = await context.prisma.user({
                    email: args.email
            })
console.log(`${user.group}`)
Then I get undefined returned. What is it that I can be doing wrong to reproduce this? Appreciate any hint