Socket
Book a DemoInstallSign in
Socket

nestjs-graphql-relay

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-graphql-relay

@nestjs/graphql + graphql-relay + typeorm

latest
Source
npmnpm
Version
11.0.0
Version published
Weekly downloads
2.1K
-21.63%
Maintainers
3
Weekly downloads
 
Created
Source

nestjs-graphql-relay

Actions Status npm version

Nest.js + typeorm + graphql-relay inspired nestjs-graphql-relay

Install

npm install nestjs-graphql-relay

Usage

example resolver

@ObjectType({ isAbstract: true })
abstract class RecipesEdge implements Relay.Edge<Recipe> {
  @Field(() => Recipe)
  readonly node: Recipe;

  @Field()
  readonly cursor: Relay.ConnectionCursor;
}

@ObjectType()
export class RecipesConnection implements Relay.Connection<Recipe> {
  @Field()
  readonly pageInfo: PageInfo;

  @Field(() => [RecipesEdge])
  readonly edges: Array<Relay.Edge<Recipe>>;
}

Contributing

PRs accepted.

License

MIT © g59

Keywords

nest

FAQs

Package last updated on 12 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts