Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddOnTop committed Oct 12, 2024
1 parent 809946e commit ac57f94
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions tests/execution/test-object-in-args.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,27 @@ error: true
# test-object-in-args

```graphql @config
schema
@server(port: 8000){
query: Query
schema @server(port: 8000) {
query: Query
}
type Query {
findEmployees(criteria: Nested): [Employee!]!
findEmployees(criteria: Nested): [Employee!]!
@http(
baseURL: "http://localhost:8081"
path: "/family/employees"
query: [
{ key: "nested", value: "{{.args.criteria}}", skipEmpty: true }
]
baseURL: "http://localhost:8081"
path: "/family/employees"
query: [{key: "nested", value: "{{.args.criteria}}", skipEmpty: true}]
)
}

type Employee {
id: ID!
name: String!
age: Int!
nested: Nested
id: ID!
name: String!
age: Int!
nested: Nested
}

input Nested {
# maritalStatus: MaritalStatus
hasChildren: Boolean
# maritalStatus: MaritalStatus
hasChildren: Boolean
}
```

0 comments on commit ac57f94

Please sign in to comment.