mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-29 08:26:02 +03:00
Minor docs improvements
This commit is contained in:
parent
7cc863df37
commit
79ebc54538
@ -34,9 +34,9 @@ Library features include:
|
|||||||
- Parsing, validating and [executing GraphQL queries](executing-queries.md) against this Type System
|
- Parsing, validating and [executing GraphQL queries](executing-queries.md) against this Type System
|
||||||
- Rich [error reporting](error-handling.md), including query validation and execution errors
|
- Rich [error reporting](error-handling.md), including query validation and execution errors
|
||||||
- Optional tools for [parsing GraphQL Type language](type-system/type-language.md)
|
- Optional tools for [parsing GraphQL Type language](type-system/type-language.md)
|
||||||
- Tools for [batching requests](data-fetching.md/#solving-n1-problem) to backend storage
|
- Tools for [batching requests](data-fetching.md#solving-n1-problem) to backend storage
|
||||||
- [Async PHP platforms support](data-fetching.md/#async-php) via promises
|
- [Async PHP platforms support](data-fetching.md#async-php) via promises
|
||||||
- [Standard HTTP server](executing-queries.md/#using-server)
|
- [Standard HTTP server](executing-queries.md#using-server)
|
||||||
|
|
||||||
Also, several [complementary tools](complementary-tools.md) are available which provide integrations with
|
Also, several [complementary tools](complementary-tools.md) are available which provide integrations with
|
||||||
existing PHP frameworks, add support for Relay, etc.
|
existing PHP frameworks, add support for Relay, etc.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# Defining your schema
|
# Defining your schema
|
||||||
|
Since 0.9.0
|
||||||
|
|
||||||
[Type language](http://graphql.org/learn/schema/#type-language) is a convenient way to define your schema,
|
[Type language](http://graphql.org/learn/schema/#type-language) is a convenient way to define your schema,
|
||||||
especially with IDE autocompletion and syntax validation.
|
especially with IDE autocompletion and syntax validation.
|
||||||
@ -39,6 +40,8 @@ Also, we have to rely on [default field resolver](../data-fetching.md#default-fi
|
|||||||
order to execute a query against this schema.
|
order to execute a query against this schema.
|
||||||
|
|
||||||
# Defining resolvers
|
# Defining resolvers
|
||||||
|
Since 0.10.0
|
||||||
|
|
||||||
In order to enable **Interfaces**, **Unions** and custom field resolvers you can pass the second argument:
|
In order to enable **Interfaces**, **Unions** and custom field resolvers you can pass the second argument:
|
||||||
**type config decorator** to schema builder.
|
**type config decorator** to schema builder.
|
||||||
|
|
||||||
@ -61,6 +64,8 @@ $schema = BuildSchema::build($contents, $typeConfigDecorator);
|
|||||||
```
|
```
|
||||||
|
|
||||||
# Performance considerations
|
# Performance considerations
|
||||||
|
Since 0.10.0
|
||||||
|
|
||||||
Method **build()** produces a [lazy schema](schema.md#lazy-loading-of-types)
|
Method **build()** produces a [lazy schema](schema.md#lazy-loading-of-types)
|
||||||
automatically, so it works efficiently even with very large schemas.
|
automatically, so it works efficiently even with very large schemas.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user