Skip to content

Commit

Permalink
Fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Apr 4, 2023
1 parent 0c8bd05 commit fdf2f37
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions website/src/pages/docs/handlers/json-schema.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ argTypeMap:
```

Array can be defined as `type: array` with `items:` and their own `type:`

```yaml
argTypeMap:
page:
Expand All @@ -184,8 +185,10 @@ argTypeMap:
type: integer
```

If you need to use symbols that will cause GraphQL to error like ':' or '[' in the query param name, you can map an alternative definition.
With the below example using `name_like` in the query will end up being `name:like` as the API call.
If you need to use symbols that will cause GraphQL to error like ':' or '[' in the query param name,
you can map an alternative definition. With the below example using `name_like` in the query will
end up being `name:like` as the API call.

```yaml
argTypeMap:
name_like:
Expand Down

0 comments on commit fdf2f37

Please sign in to comment.