Skip to content

Commit

Permalink
added changes mentioned
Browse files Browse the repository at this point in the history
  • Loading branch information
ibishal committed Jan 22, 2024
1 parent 22e8a24 commit da4ad6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides/mustache.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To get a list of todos you will run the query `todo` defined below.
```graphql
type Query {
todos : [Todo] @http("/todos")
todos : [Todo] @http(path: "/todos")
}
type Todo {
id: ID!
Expand All @@ -29,7 +29,7 @@ Suppose you now only want the completed todos to be shown.You can accomplish thi

```graphql
type Query {
completedTodos(completed: Boolean!): [Todo]
todos(completed: Boolean): [Todo]
@http(path: "/todos", query: [{key: "completed", value: "{{args.completed}}"}])
}
```
Expand Down

0 comments on commit da4ad6e

Please sign in to comment.