Skip to content

Commit

Permalink
ENGCOM-3537: [260] Fixed bug with uniq type #262
Browse files Browse the repository at this point in the history
  • Loading branch information
Valeriy Naida authored Nov 22, 2018
2 parents 365e400 + b0fa475 commit 4536863
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions app/code/Magento/SendFriendGraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,38 @@
# See COPYING.txt for license details.

type Mutation {
sendEmailToFriend (input: SendEmailToFriendSenderInput): SendEmailToFriendOutput @resolver(class: "\\Magento\\SendFriendGraphQl\\Model\\Resolver\\SendEmailToFriend") @doc(description:"Recommends Product by Sending Single/Multiple Email")
sendEmailToFriend (input: SendEmailToFriendInput): SendEmailToFriendOutput @resolver(class: "\\Magento\\SendFriendGraphQl\\Model\\Resolver\\SendEmailToFriend") @doc(description:"Recommends Product by Sending Single/Multiple Email")
}

input SendEmailToFriendSenderInput {
product_id: Int!
sender: Sender!
recipients: [Recipient!]!
input SendEmailToFriendInput {
product_id: Int!
sender: SendEmailToFriendSenderInput!
recipients: [SendEmailToFriendRecipientInput!]!
}

type Sender {
input SendEmailToFriendSenderInput {
name: String!
email: String!
message: String!
}

type Recipient {
input SendEmailToFriendRecipientInput {
name: String!
email: String!
}

type SendEmailToFriendOutput {
sender: Sender
recipients: [Recipient]
sender: SendEmailToFriendSender
recipients: [SendEmailToFriendRecipient]
}

type SendEmailToFriendSender {
name: String!
email: String!
message: String!
}

type SendEmailToFriendRecipient {
name: String!
email: String!
}

0 comments on commit 4536863

Please sign in to comment.