Skip to content

Commit 75ce9e0

Browse files
Copilotspawnia
andcommitted
fix: address review comments on semantic line breaks PR
Co-authored-by: spawnia <12158000+spawnia@users.noreply.github.com>
1 parent 3c98cb9 commit 75ce9e0

File tree

11 files changed

+22
-14
lines changed

11 files changed

+22
-14
lines changed

docs/3/testing/phpunit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function testCreatePost(): void
6868

6969
Now that we know how to query our server in tests, we need to make sure the returned results match our expectations.
7070

71-
The returned `TestResponse` conveniently offers assertions that work quite well quite with the JSON data returned by GraphQL.
71+
The returned `TestResponse` conveniently offers assertions that work quite well with the JSON data returned by GraphQL.
7272

7373
The `assertJson` method asserts that the response is a superset of the given JSON.
7474

docs/3/the-basics/directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Those are called _directives_ and are the primary way to add functionality to yo
77

88
## Definition
99

10-
Directives always begin with an `@` symbol, followed by an unique name.
10+
Directives always begin with an `@` symbol, followed by a unique name.
1111
They may be used at specified parts of the GraphQL schema.
1212

1313
This example directive `@upperCase` may be used on field definitions to UPPERCASE the result.

docs/4/subscriptions/client-implementations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Client Implementations
22

3-
To get you up and running quickly, the following sections show how to use subcriptions with common GraphQL client libraries.
3+
To get you up and running quickly, the following sections show how to use subscriptions with common GraphQL client libraries.
44

55
## Apollo
66

docs/5/performance/deferred.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
**Experimental: not enabled by default, not guaranteed to be stable.**
44

5-
::: warning Currently the `@defer` directive requires Apollo Client in alpha.
6-
Track the state of the PR here: https://github.com/apollographql/apollo-client/pull/3686#issuecomment-555534519 :::
5+
::: warning
6+
Currently the `@defer` directive requires Apollo Client in alpha.
7+
Track the state of the PR here: https://github.com/apollographql/apollo-client/pull/3686#issuecomment-555534519
8+
:::
79

810
Deferring fields allows you to prioritize fetching data needed to render the most important content as fast as possible,
911
and then loading the rest of the page in the background.

docs/5/subscriptions/getting-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
Subscriptions allow GraphQL clients to observe specific events and receive updates from the server when those events occur.
44

5-
::: tip NOTE Much of the credit should be given to the [Ruby implementation](https://github.com/rmosolgo/graphql-ruby/blob/master/guides/subscriptions/overview.md) as they provided a great overview of how the backend should work. :::
5+
::: tip NOTE
6+
Much of the credit should be given to the [Ruby implementation](https://github.com/rmosolgo/graphql-ruby/blob/master/guides/subscriptions/overview.md) as they provided a great overview of how the backend should work.
7+
:::
68

79
## Setup
810

docs/INDEX.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
2-
home: true title: Lighthouse - A framework for serving GraphQL from Laravel heroImage.
3-
/logo.svg actionText: Get Started → actionLink: /latest/getting-started/installation features:
2+
home: true
3+
title: Lighthouse - A framework for serving GraphQL from Laravel
4+
heroImage: /logo.svg
5+
actionText: Get Started →
6+
actionLink: /latest/getting-started/installation
7+
features:
48
- title: 📜 SDL First
59
details: Use the GraphQL Schema Definition Language to describe your data and add functionality through server-side directives.
610
- title: ❤ Laravel Friendly

docs/master/digging-deeper/relay.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
## Cursor Connection
44

5-
Relay requires a particular kind of pagination which is the [Cursor Connection](https://facebook.github.io/relay/graphql/connections.htm) To get a relay-compatible connection on a root query field, use the [@paginate](../api-reference/directives.md#paginate) directive with the pagination type `CONNECTION`.
5+
Relay requires a particular kind of pagination which is the [Cursor Connection](https://facebook.github.io/relay/graphql/connections.htm).
6+
To get a relay-compatible connection on a root query field, use the [@paginate](../api-reference/directives.md#paginate) directive with the pagination type `CONNECTION`.
67

78
> Lighthouse does not support actual cursor-based pagination as of now, see https://github.com/nuwave/lighthouse/issues/311 for details.
89
> Under the hood, the "cursor" is decoded into a page offset.

docs/master/federation/entity-representations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type Comment @extends @key(fields: "id") {
3030

3131
If entities don't have an Eloquent relationship within the subgraph, it's necessary to specify a separate resolver that will return the required information.
3232
The resolver should return data containing information about the `__typename` field.
33-
Corresponds to the entity's name and the primary key that can identify the entity.
33+
This corresponds to the entity's name and the primary key that can identify the entity.
3434
The `__typename` can either be provided as an explicit field or implicitly by returning an object with a matching class name.
3535

3636
### Example 1

docs/master/federation/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ extend schema
4747

4848
## Federated tracing
4949

50-
In order to use federated tracing, you need to enabled [tracing](../performance/tracing.md) and set the driver to `Nuwave\Lighthouse\Tracing\FederatedTracing\FederatedTracing::class` in your `config/lighthouse.php`:
50+
In order to use federated tracing, you need to enable [tracing](../performance/tracing.md) and set the driver to `Nuwave\Lighthouse\Tracing\FederatedTracing\FederatedTracing::class` in your `config/lighthouse.php`:
5151

5252
```php
5353
'tracing' => [

docs/master/performance/deferred.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Register the service provider `Nuwave\Lighthouse\Defer\DeferServiceProvider`, se
1313

1414
## Configuration
1515

16-
Consider the configuration options under `defer` in your `config/lighthouse.php` to prevent deferred queries from running to long.
16+
Consider the configuration options under `defer` in your `config/lighthouse.php` to prevent deferred queries from running too long.
1717

1818
<br />
1919

0 commit comments

Comments
 (0)