TypeGraphQL · Blogs
Blogs from TypeGraphQL on TechiSeek brings together work published by TypeGraphQL. Open any title to read it on the original site. See the newest titles. 33 public listings.
- Installation · TypeGraphQL (TypeGraphQL)Before getting started with TypeGraphQL we need to install some additional dependencies and properly configure the TypeScript configuration…
- Resolvers · TypeGraphQL (TypeGraphQL)Besides /docs/next/types-and-fields.html), TypeGraphQL allows us to easily create queries, mutations and field resolvers - like normal clas…
- NestJS Integration · TypeGraphQL (TypeGraphQL)TypeGraphQL provides some basic integration with NestJS by the `typegraphql-nestjs` package.
- Inheritance · TypeGraphQL (TypeGraphQL)The main idea of TypeGraphQL is to create GraphQL types based on TypeScript classes.
- Prisma Integration · TypeGraphQL (TypeGraphQL)TypeGraphQL provides an integration with Prisma by the `typegraphql-prisma` package.
- Types and Fields · TypeGraphQL (TypeGraphQL)The main idea of TypeGraphQL is to automatically create GraphQL schema definitions from TypeScript classes. To avoid the need for schema de…
- Introduction · TypeGraphQL (TypeGraphQL)We all love GraphQL! It's really great and solves many problems that we have with REST APIs, such as overfetching and underfetching. But de…
- Migration Guide · TypeGraphQL (TypeGraphQL)> This chapter contains migration guide, that will help you upgrade your codebase from using old Typegraphql `v1.x` into the newest `v2.0`…
- Argument and Input validation · TypeGraphQL (TypeGraphQL)Scalars The standard way to ensure that inputs and arguments are correct, such as an email field that really contains a proper e-mail addre…
- README · TypeGraphQL (TypeGraphQL)Documentation The documentation has been prepared to be viewed on TypeGraphQL website, please read it there.
- Interfaces · TypeGraphQL (TypeGraphQL)The main idea of TypeGraphQL is to create GraphQL types based on TypeScript classes.
- Getting started · TypeGraphQL (TypeGraphQL)> Make sure you've completed all the steps described in the /docs/next/installation.html).
- Performance · TypeGraphQL (TypeGraphQL)**TypeGraphQL** is basically an abstraction layer built on top of the reference GraphQL implementation for Javascript - `graphql-js`. It no…
- Unions · TypeGraphQL (TypeGraphQL)Sometimes our API has to be flexible and return a type that is not specific but one from a range of possible types. An example might be a m…
- Subscriptions · TypeGraphQL (TypeGraphQL)GraphQL can be used to perform reads with queries and writes with mutations.
- Scalars · TypeGraphQL (TypeGraphQL)## Aliases
- Query complexity · TypeGraphQL (TypeGraphQL)A single GraphQL query can potentially generate a huge workload for a server, like thousands of database operations which can be used to ca…
- Examples · TypeGraphQL (TypeGraphQL)On the GitHub repository there are a few simple `examples` of how to use different `TypeGraphQL` features and how well they integrate with…
- Frequently Asked Questions · TypeGraphQL (TypeGraphQL)Resolvers Should I implement a field resolver as an object type getter, a method or a resolver class method? This depends on various factor…
- TypeGraphQL · Modern framework for GraphQL API in Node.js (TypeGraphQL)Modern framework for GraphQL API in Node.js
- Announcing TypeGraphQL 1.0 🚀 · TypeGraphQL (TypeGraphQL)It's finally happening! Over two years after the initial announcement, TypeGraphQL is now ready for its first stable release - `v1.0.0` 🎉
- Enums · TypeGraphQL (TypeGraphQL)Nowadays almost all typed languages have support for enumerated types, including TypeScript. Enums limit the range of a variable's values t…
- Custom decorators · TypeGraphQL (TypeGraphQL)Custom decorators are a great way to reduce the boilerplate and reuse some common logic between different resolvers. TypeGraphQL supports t…
- Authorization · TypeGraphQL (TypeGraphQL)Authorization is a core feature used in almost all APIs. Sometimes we want to restrict data access or actions for a specific group of users.
- Bootstrapping · TypeGraphQL (TypeGraphQL)After creating our resolvers, type classes, and other business-related code, we need to make our app run. First we have to build the schema…
- Emitting the schema SDL · TypeGraphQL (TypeGraphQL)TypeGraphQL's main feature is creating the schema using only TypeScript classes and decorators. However, there might be a need for the sche…
- Extensions · TypeGraphQL (TypeGraphQL)The `graphql-js` library allows for putting arbitrary data into GraphQL types config inside the `extensions` property.
- Dependency injection · TypeGraphQL (TypeGraphQL)Dependency injection is a really useful pattern that helps in decoupling parts of the app.
- GraphQL + TypeScript = TypeGraphQL · TypeGraphQL (TypeGraphQL)We all love GraphQL! It’s so great and solves many problems that we have with REST API, like overfetching and underfetching. But developing…
- ECMAScript Modules · TypeGraphQL (TypeGraphQL)Since `v2.0.0` release, TypeGraphQL is compatible with ECMAScript modules.
- Browser usage · TypeGraphQL (TypeGraphQL)Using classes in a client app Sometimes we might want to use the classes we've created and annotated with TypeGraphQL decorators, in our cl…
- Generic Types · TypeGraphQL (TypeGraphQL)/docs/next/inheritance.html) is a great way to reduce code duplication by extracting common fields to the base class. But in some cases, th…
- Directives · TypeGraphQL (TypeGraphQL)> A directive is an identifier preceded by a `@` character, optionally followed by a list of named arguments, which can appear after almost…