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
Copy file name to clipboardexpand all lines: website/src/docs/hotchocolate/api-reference/extending-filtering.md
+2-3
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ This convention is also configurable with a fluent interface, so in most cases y
72
72
## Descriptor
73
73
74
74
Most of the capabilities of the descriptor are already documented under `Fetching Data -> Filtering`.
75
-
If you have not done this already, it is now the right time to head over to [Filtering](https://chillicream.com/docs/hotchocolate/fetching-data/filtering) and read the parts about the `FilterConventions`
75
+
If you have not done this already, it is now the right time to head over to [Filtering](/docs/hotchocolate/fetching-data/filtering) and read the parts about the `FilterConventions`
76
76
77
77
There are two things on this descriptor that are not documented in `Fetching Data`:
78
78
@@ -284,8 +284,7 @@ A little simplified this is what happens during visitation:
284
284
```graphql
285
285
{
286
286
users(
287
-
where: # instance[0] = x # Create SCOPE 1 with parameter x of type User
288
-
# level[0] = []
287
+
where: # level[0] = [] # instance[0] = x # Create SCOPE 1 with parameter x of type User
Copy file name to clipboardexpand all lines: website/src/docs/hotchocolate/get-started.md
+11-11
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,13 @@ title: "Get started with Hot Chocolate"
4
4
5
5
> We are still working on the documentation for Hot Chocolate 11.1 so help us by finding typos, missing things or write some additional docs with us.
6
6
7
-
In this tutorial, we will walk you through the basics of creating a GraphQL server with Hot Chocolate. If you want to dig deeper into Hot Chocolate, we have our GraphQL workshop, which touches on topics like schema design, DataLoader, and many more things.
7
+
In this tutorial, we will walk you through the basics of creating a GraphQL server with Hot Chocolate. If you want to dig deeper into Hot Chocolate, we have our [GraphQL workshop](https://github.com/ChilliCream/graphql-workshop), which touches on topics like schema design, DataLoader, and many more things.
8
8
9
-
In this tutorial, we will teach you:
9
+
In this tutorial, we will teach you how to:
10
10
11
-
-To set up a GraphQL Server.
12
-
-To define a GraphQL schema.
13
-
-To query your GraphQL server.
11
+
-Set up a GraphQL server.
12
+
-Define a GraphQL schema.
13
+
-Query your GraphQL server.
14
14
15
15
# Step 1: Create a GraphQL server project
16
16
@@ -20,14 +20,12 @@ Open your preferred terminal and select a directory where you want to add the co
We have a nice and simple model with these two classes that we can use to build our GraphQL schema. We now need to define a query root type. The query root type exposes all the possible queries that a user can drill into. A query root type can be defined as our models just with C#.
61
+
With these two classes we have a nice and simple model that we can use to build our GraphQL schema. We now need to define a query root type. The query root type exposes all the possible queries that a user can drill into. A query root type can be defined in the same way we defined our models.
64
62
65
63
3. Add a new class `Query`.
66
64
@@ -109,6 +107,8 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
109
107
}
110
108
```
111
109
110
+
> Note: We also have a template, which includes the configurations we have just made. Just install the template using `dotnet new -i HotChocolate.Templates.Server` and now you can use `dotnet new graphql` to bootstrap your future GraphQL servers!
111
+
112
112
# Step 3: Execute a GraphQL query
113
113
114
114
Now that your server is finished let us try it out by executing a simple GraphQL query.
@@ -119,11 +119,11 @@ Now that your server is finished let us try it out by executing a simple GraphQL
119
119
dotnet run --project ./Demo
120
120
```
121
121
122
-
2. Open Chrome, Edge or Firefox and head over to `http://localhost:5000/graphql` to open the built-in GraphQL IDE Banana Cake Pop.
122
+
2. Open your browser and head over to `http://localhost:5000/graphql` to open our built-in GraphQL IDE [Banana Cake Pop](/docs/bananacakepop/).
123
123
124
124

125
125
126
-
3. Next, click on the `Book` icon on the left-hand navigation bar to explore the server GraphQL schema. If this is the first time you are running the demo, you will need to enter `http://localhost:5000/graphql` as the schema endpoint URI. In the schema explorer, we can see that we have one query root field exposed. By clicking on the field, we can drill into the schema structure.
126
+
3. Next, click on the `Book` icon in the left-hand navigation bar to explore the server's GraphQL schema. If this is the first time you are running the demo, you will need to enter `http://localhost:5000/graphql` as the schema endpoint URI. In the schema explorer, we can see that we have one query root field exposed. By clicking on the field, we can drill into the schema structure.
127
127
128
128

0 commit comments