Router is filling in a null object with all the null fields inside the object #1377
Unanswered
golfingal72
asked this question in
Q&A
Replies: 1 comment 16 replies
-
|
Is your question in #1375 the same concern or very closely related to this? (It seems to be?) |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
[See my datatypes below] When i return a null on the RetailerOrganization below from a subgraph response, the final response is returning:
"retailerOrganization":{"allowedFeatures":null,"retailers":null}the APOLLO-SERVER in NODE JS is returning in the final federated response...
"retailerOrganization":nullWhich is the PREFERRED answer i'd like to see..
I've tried it 2 ways: not returning the reference to the retailerOrganization in the SUBGRAPH Response AND returning a specific null in the
body: "retailerOrganization": Nulldemonstrated object types:
Beta Was this translation helpful? Give feedback.
All reactions