Say I have the following fragment:
fragment ConversationSnippet on Conversation {
uuid
unreadMessages
profileThatHasUnreadMessages
updatedAt
createdAt
profiles{
...ConversationProfileSnippet
}
messages{
...MessageSnippet
}
ongoingCall
pendingCall
pendingCallProfile {
...ConversationProfileSnippet
}
}
The pendingCallProfile
could be null null. Is there a way for me to specify that in the fragment? I'm facing an issue where if the pendingCallProfile
is null the entire query fails to return anything.