2

I'm playing with Apollo Federation, and I'm using an entity from another service (File entity), in which this entity has the following resolver:

File: {
                    __resolveReference(reference, context) {
                        return null;
                    }
                },

Now, in spite of hard-coding / returning null from the resolver, I still get the object containing specified fields, which are all null.

"image" field is null

This is the query I'm sending:

enter image description here

Is this normal behavior?

Thanks!

Lior Elrom
  • 19,660
  • 16
  • 80
  • 92
Adrian
  • 1,499
  • 3
  • 19
  • 26

0 Answers0