М
name:String!,
value:String!
}
mutation App($inputs: [Input]) {
application(
where: { product_id: "1234" }
data: {
external_application_id: "mgtju34"
insured_object: {
inputs: $inputs
type: "company"
}) {
id
}
}
Size: a a a
М
𝘂
type Input {
name: String!
value: String!
}
mutation App($inputs: [Input]) {
application(
where: { product_id: "1234" }
data: {
external_application_id: "mgtju34"
insured_object: { inputs: $inputs, type: "company" }
}
) {
id
}
}
𝘂
const data = await client.mutate({
mutation: gql`
type Input {
name: String!
value: String!
}
mutation App($inputs: [Input]) {
application(
where: { product_id: "1234" }
data: {
external_application_id: "mgtju34"
insured_object: { inputs: $inputs, type: "company" }
}
) {
id
}
}
`,
variables: {
inputs: [{name: "name", value: "value"}]
}
});
𝘂
М
М
М
P@
AB
P@
P@
P@
P@
AB
P@
AB
ОЛ
АТ
ОЛ
NP