You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
Copy file name to clipboardexpand all lines: public/docs/ts/latest/cookbook/graphql.jade
+18-16
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,10 @@ include ../_util-fns
6
6
7
7
.l-sub-section
8
8
:marked
9
-
GraphQL is a replacement or enhancement for REST and can be used in conjunction with it.
9
+
The GraphQL interface is a replacement or enhancement for REST and can be used in conjunction with it.
10
10
11
11
:marked
12
-
GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.
12
+
It provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.
13
13
14
14
15
15
<aid="toc"></a>
@@ -43,18 +43,18 @@ include ../_util-fns
43
43
:marked
44
44
## What is GraphQL?
45
45
46
-
GraphQL is an API query language, helping your Angular app:
46
+
GraphQL is an API query language, that helps your Angular app do the following:
47
47
48
48
- Fetch exactly the information it needs from the server.
49
49
- Add type safety to your API.
50
50
- Merge multiple dependencies into one single response from the server.
51
51
- Handle server data dependency in a component structure.
52
52
53
-
It’s also important to understand that:
53
+
It’s also important to understand these key points:
54
54
55
55
- **GraphQL is not a data source**. The GraphQL runtime works on top of any data source—SQL,
56
-
NoSql, REST, Queues, .NET servers, Java servers or any other technology or data source.
57
-
- GraphQL solves the need of sending multiple requests for multiple resources to the server and
56
+
NoSql, REST, Queues, .NET servers, Java servers, or any other technology or data source.
57
+
- GraphQL solves the need of sending multiple requests to the server for different resources and
58
58
then running complex joins on the client—without the need to create a custom endpoint like REST does.
59
59
- The GraphQL specification also includes protocols for real-time push updates from the server to the client.
60
60
@@ -67,8 +67,8 @@ include ../_util-fns
67
67
68
68
.l-sub-section
69
69
:marked
70
-
For a summary of this section, see [Faster modern apps with Angular and GraphQL](https://www.youtube.com/watch?v=Xx39bv-5ojA&t=1s)
71
-
presented by [Jeff Cross](https://twitter.com/jeffbcross) and [Uri Goldshtein](https://twitter.com/UriGoldshtein).
70
+
For a summary of this section, see the following [video](https://www.youtube.com/watch?v=Xx39bv-5ojA&t=1s)
71
+
by [Jeff Cross](https://twitter.com/jeffbcross) and [Uri Goldshtein](https://twitter.com/UriGoldshtein).
0 commit comments