# @pothos-examples/envelope-helix-fastify

> This example uses the following packages:

Latest version **3.1.9** (published 2025-05-02) · 0 weekly downloads

## Install

```sh
npm install @pothos-examples/envelope-helix-fastify
pnpm add @pothos-examples/envelope-helix-fastify
yarn add @pothos-examples/envelope-helix-fastify
bun add @pothos-examples/envelope-helix-fastify
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.1.9 |
| Published | 2025-05-02 |
| First published | 2022-01-25 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 16.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | hayes |

## Links

- npm: https://www.npmjs.com/package/@pothos-examples/envelope-helix-fastify
- npm.io page: https://npm.io/package/@pothos-examples/envelope-helix-fastify

## Dependencies (6)

- [fastify](https://npm.io/package/fastify.md) ^5.3.0
- [graphql](https://npm.io/package/graphql.md) ^16.10.0
- [@pothos/core](https://npm.io/package/@pothos/core.md) 4.6.2
- [@envelop/core](https://npm.io/package/@envelop/core.md) ^5.2.3
- [graphql-helix](https://npm.io/package/graphql-helix.md) ^1.13.0
- [@faker-js/faker](https://npm.io/package/@faker-js/faker.md) ^9.7.0

## Recent versions

- 3.1.9 (latest) — 2025-05-02
- 3.0.0-next.1 (next) — 2024-07-03
- 0.0.0-preview-20220429064800 (preview) — 2022-04-29
- 3.1.8 — 2025-04-29
- 3.1.7 — 2025-04-12
- 3.1.6 — 2025-03-25
- 3.1.5 — 2025-02-25
- 3.1.4 — 2025-02-25
- 3.1.3 — 2025-02-20
- 3.1.2 — 2024-10-09
- 3.1.1 — 2024-08-10
- 3.1.0 — 2024-08-02
- 3.0.2 — 2024-07-12
- 3.0.0 — 2024-07-10
- 3.0.0-next.0 — 2024-07-03
- … 78 more at https://npm.io/package/@pothos-examples/envelope-helix-fastify/versions

## README

# A GraphQL schema wrapped with envelop

This example uses the following packages:

- `@pothos/core`: For building the schema
- `@envelop/core`: For wrapping schema execution with additional logic
- `graphql-helix`: For parsing and processing requests
- `fastify`: For routing and starting the http server

## Schema

```graphql
type Comment {
  author: User
  comment: String!
  id: ID!
  post: Post!
}

type Post {
  author: User
  comments: [Comment!]!
  content: String!
  id: ID!
  title: String!
}

type Query {
  post(id: ID!): Post
  posts(skip: Int, take: Int): [Post!]
  user(id: ID!): User
}

type User {
  comments: [Comment!]!
  firstName: String!
  fullName: String!
  id: ID!
  lastName: String!
  posts: [Post!]!
}
```

---
_Source: https://npm.io/package/@pothos-examples/envelope-helix-fastify · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
