Skip to content

Commit 24d665c

Browse files
authored
Update ZeroQL GraphQL client description (graphql#1470)
* Update zeroql.md * Update zeroql.md
1 parent 74667f2 commit 24d665c

File tree

1 file changed

+9
-1
lines changed
  • src/content/code/language-support/c-net/client

1 file changed

+9
-1
lines changed

src/content/code/language-support/c-net/client/zeroql.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,15 @@ You can use ZeroQL to:
1313
- Generate a C# client from GraphQL schema.
1414
- Generate and execute graphql queries from your C# code.
1515
- Don't require writing GraphQL manually.
16+
- Supports .Net Core, .Net Framework, Xamarin, Unity apps.
1617

1718
```csharp
18-
var response = await client.Query(o => o.Me(o => new { o.Id, o.FirstName, o.LastName }));
19+
var userId = 10;
20+
var response = await qlClient.Query(q => q
21+
.User(userId, o => new
22+
{
23+
o.Id,
24+
o.FirstName,
25+
o.LastName
26+
}));
1927
```

0 commit comments

Comments
 (0)