I\'ve simplified the example below to show the part that seems unclear (or maybe isn\'t possible with graphQL?). I have an array of messages, where each message \'type\' can be