Skip to content

Commit

Permalink
Mutations Prototype (POC) #74
Browse files Browse the repository at this point in the history
- Added temporary placeholder field to Mutations
  • Loading branch information
Alex Paliarush committed Jul 2, 2018
1 parent db3f2c7 commit eb2a5a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/code/Magento/GraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ type Query {
}

type Mutation {
placeholderMutation: String @doc(description: "Mutation type cannot be declared without fields. The placeholder will be removed when at least one mutation field is declared.")
}

input FilterTypeInput @doc(description: "FilterTypeInput specifies which action will be performed in a query ") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ type Query {
placeholder: String @doc(description: "comment for placeholder.")
}

type Mutation {
placeholder: String @doc(description: "comment for placeholder.")
}

input FilterTypeInput @doc(description:"Comment for FilterTypeInput") {
eq: String @doc(description:"Equal")
finset: [String]
Expand Down

0 comments on commit eb2a5a3

Please sign in to comment.