Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ibishal committed Jan 22, 2024
1 parent da4ad6e commit 6fd26e7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 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(path: "/todos")
todos: [Todo] @http(path: "/todos")
}
type Todo {
id: ID!
Expand All @@ -29,8 +29,7 @@ Suppose you now only want the completed todos to be shown.You can accomplish thi

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

Expand Down

0 comments on commit 6fd26e7

Please sign in to comment.