TestSchema and four empty tuples

Here is how the JSON output looks:

  "person": [
      "address": "31, 32 street, Jupiter",
      "age": 38,
      "alive": true,
      "friend": [
          "address": "21, mark street, Mars",
          "age": 15,
          "name": "Rick Grimes"
      "name": "Michonne",
      "survival_rate": 98.99

Some friends have some invalid data which is why we see a bunch of {}. I wonder if we should just omit these empty {}, unless the user is asking for _uid_. What do you all think? @core-devs Is it required by GraphQL to list these empty {}?


I think not. But, irrespective, we should not send out empty maps.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.