Hello to everybody, catched a weird behaviour in P...
# orm-help
j
Hello to everybody, catched a weird behaviour in Playground. So this is my query
Copy code
query{
  feed{
    description,
    imageURLs{
      url
    }
  },
  me{
    posts{
      imageURLs{
        url
      }
    }
  }
}
The imageURLs produces two different outputs, in the
feed
tree it comes out as
null
in the
me
tree under
posts
comes out like
[]
. Now
feed
is declared as
[Post!]!
and
me
is declared as
User
which has
[Post!]
. Now I would need to get the empty array if there is no data and not null. Like changed a bunch of things but always the same result
n
How did you implement the two resolvers?