boogiecoco.
07/28/2023, 7:58 PMString! is it possible for us to get support for passing custom types in the GraphQL params
This would greatly help simplify queries in client-side code.rahul1
07/28/2023, 8:02 PMboogiecoco.
07/28/2023, 8:07 PMboogiecoco.
07/28/2023, 8:12 PMmutation CreateCommunication(
$payloadContentString: String!
$payloadContentAttachmentTitle: String!
$payloadContentAttachmentUrl: String!
) {
createCommunication(
communication: {
resourceType: "Communication"
payload: [
{
contentString: $payloadContentString,
contentAttachment: {
title: $payloadContentAttachmentTitle,
url: $payloadContentAttachmentUrl
}
}
]
}
)rahul1
07/28/2023, 8:42 PMrahul1
07/28/2023, 8:44 PMrahul1
07/28/2023, 8:44 PMmutation CreatComm($payload: [CommunicationPayloadCreate!]!) {
CommunicationCreate(res: {
resourceType: "Communication",
status: "draft",
payload: $payload
}) {
id,
resourceType,
payload {contentString, contentAttachment {url}}
}
}rahul1
07/28/2023, 8:48 PM<inner-type-name>Createboogiecoco.
07/28/2023, 9:05 PM