Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/symfony-bundle-advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,28 @@ By default, GraphQLite assumes that your firewall name is "main". This is the de
Symfony security bundle so it is likely the value you are using. If for some reason you want to use
another firewall, configure the name with `graphqlite.security.firewall_name`.

## Schema and request security

You can disable the introspection of your GraphQL API (for instance in production mode) using
the `introspection` configuration properties.

```yaml
graphqlite:
security:
introspection: false
```


You can set the maximum complexity and depth of your GraphQL queries using the `maximum_query_complexity`
and `maximum_query_depth` configuration properties

```yaml
graphqlite:
security:
maximum_query_complexity: 314
maximum_query_depth: 42
```

### Login using the "login" mutation

The mutation below will log-in a user:
Expand Down