{"repo":"99designs/gqlgen","free":true,"listed":false,"github":"https://github.com/99designs/gqlgen","clone":"git clone https://github.com/99designs/gqlgen.git","description":"go generate based graphql server library","language":"Go","stars":10749,"topics":["graphql","subscriptions","schema-first","codegen","gogenerate","golang","dataloader"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"gqlgen What is gqlgen? gqlgen is a Go library for building GraphQL servers without any fuss. - gqlgen is based on a Schema first approach — You get to Define your API using the GraphQL Schema Definition Language. - gqlgen prioritizes Type safety — You should never see map[string]interface{} here. - gqlgen enables Codegen — We generate the boring bits, so you can focus on building your app quickly. Still not convinced enough to use gqlgen ? Compare gqlgen with other Go graphql implementations Quick start 1. Initialise a new go module 2. Add github.com/99designs/gqlgen to your project, as a tool dependency 3. Initialise gqlgen config and generate models 4. Start the graphql server More help to get started: - Getting started tutorial - a comprehensive guide to help you get started - Real-world examples show how to create GraphQL applications - Reference docs for the APIs Reporting Issues If you think you've found a bug, or something isn't behaving the way you think it should, please raise an issue on GitHub. Contributing We welcome contributions, Read our Contribution Guidelines to learn more about contributing to gqlgen Frequently asked questions How do I prevent fetching child objects that might not be used? When you have nested or recursive schema like this: You need to tell gqlgen that it should only fetch friends if the user requested it. There are two ways to do this: Using Custom Models Write a custom model that omits the friends field: And reference the model in gqlgen.y","default_branch":null,"files":null,"tree":[],"storefront":"/r/99designs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/99designs/gqlgen/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}