graphql-engine/server/tests-py/queries/graphql_query/functions/query_get_users.yaml
Rakesh Emmadi d9fb0f8780 use named notation for function arguments if any argument is not specified (fix #2730) (#2777)
* use positional arguments in SQL functions
* only allow omitting set of last arguments in functions
* disallow omitting of a non default argument in functions
2019-08-28 14:27:15 -05:00

22 lines
390 B
YAML

description: Query from users table using get_users function
url: /v1/graphql
status: 200
response:
data:
get_users:
- id: 1
name: Starke Blake
is_admin: true
- id: 2
name: Bellamy Blake
is_admin: true
query:
query: |
query {
get_users(args: {search: "Blake", arg_1: 2, arg_2: true}){
id
name
is_admin
}
}