Keep deleted issue author as ghost #24888
-
Now if the user account is deleted, GraphQL returns
Compared with, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thanks for the feedback. I’m investigating this and will get back to you as soon as I have more information. |
Beta Was this translation helpful? Give feedback.
-
In talking with the developers, this was a deliberate design decision to make this change for the GraphQL API. For example, imagine this query:
By returning a Instead, by returning I hope that helps! |
Beta Was this translation helpful? Give feedback.
In talking with the developers, this was a deliberate design decision to make this change for the GraphQL API. For example, imagine this query:
By returning a
User.ghost
for the issue author in this case, we then present a bunch of data about the ghost user (or no data), which is (at best) useless to the user, and at worst will lead them to mis-associate information.Instead, by returning
null
, we are able to indicate exactly where in the…