palixir / wabe

Your backend in minutes not days for Node.js / Bun
https://wabe.dev
Apache License 2.0
142 stars 8 forks source link

bug: issue with graphql request on object field with pointer on same class #5

Closed coratgerl closed 4 months ago

coratgerl commented 4 months ago

Request that fails:

query users{
  users{
    edges
    {
      node{
        company{
          name
          subdomain
        }
        authentication{
          emailPassword{
            email
            password
          }
        }
      }
    }
  }
}

To reproduce we need to create an user before request all users

Error: "undefined is not an object (evaluating 'pointerClassName.toLowerCase')"

coratgerl commented 4 months ago

Fixes in fb1ef9f7c345201e31f2e5f282942a8ef72cdbe0