Blog Logo
TAGS

ZeroQL - C# GraphQL client adds fragments support

ZeroQL is a C# native graphql client with a Linq-like interface with no compromises on the performance. In this article, the support for fragments is presented. Fragments allow defining a set of fields and reuse them when needed, simplifying queries. The article covers how to create fragments in C#, using a GraphQL schema as an example. The code examples demonstrate how to move user fields into a fragment and use it in a query. The article concludes with the benefits of using fragments and how it enhances the ZeroQL experience for developers.