Skip to content

Commit 869a5fb

Browse files
authored
style: run prettier (#1855)
1 parent 103fd42 commit 869a5fb

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/code/language-support/c-net/client/linq2graphql.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ github: linq2graphql/linq2graphql.client
88
Linq2GraphQL generates C# classes from the GraphQL schema and and togheter with the nuget package Linq2GraphQL.Client it makes it possible to query the server using Linq expressions.
99

1010
A simple query that will get the first 10 orders with the primitive properties of orders and the connected customer
11+
1112
```csharp
1213
var orders = await sampleClient
1314
.Query
@@ -18,6 +19,7 @@ var orders = await sampleClient
1819
```
1920

2021
An example mutation where we add a new customer and return the Customer Id.
22+
2123
```csharp
2224
var customerId = await sampleClient
2325
.Mutation

src/content/code/language-support/c-c/client/cppgraphqlgen-clientgen.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ github: microsoft/cppgraphqlgen
77

88
The `clientgen` utility is based on `schemagen` and shares the same external dependencies. The command line arguments
99
are almost the same, except it takes an extra file for the request document and there is no equivalent to `--stubs`:
10+
1011
```
1112
Usage: clientgen [options] <schema file> <request file> <output filename prefix> <output namespace>
1213
Command line options:
@@ -31,4 +32,4 @@ single operation from the request document by specifying the `--operation` (or `
3132

3233
The generated code depends on the `graphqlclient` library for serialization of built-in types. If you link the generated
3334
code, you'll also need to link `graphqlclient`, `graphqlpeg` for the pre-parsed, pre-validated request AST, and
34-
`graphqlresponse` for the `graphql::response::Value` implementation.
35+
`graphqlresponse` for the `graphql::response::Value` implementation.

src/content/code/language-support/c-c/server/cppgraphqlgen-schemagen.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ github: microsoft/cppgraphqlgen
77

88
Run `schemagen -?` to get a list of options. Many of the files in the [samples](https://github.com/microsoft/cppgraphqlgen/tree/main/samples) directory were generated
99
with `schemagen`, you can look at [samples/learn/schema/CMakeLists.txt](https://github.com/microsoft/cppgraphqlgen/blob/main/samples/learn/schema/CMakeLists.txt) for an example of how to call it with the canonical Star Wars sample [schema](https://github.com/microsoft/cppgraphqlgen/blob/main/samples/learn/schema/schema.learn.graphql):
10+
1011
```
1112
Usage: schemagen [options] <schema file> <output filename prefix> <output namespace>
1213
Command line options:

0 commit comments

Comments
 (0)