The Wayback Machine - https://web.archive.org/web/20220709121118/https://github.com/topics/fastify
Skip to content
#

Fastify

fastify logo

Fastify is a web framework highly focused on providing the best developer experience with the least overhead and a powerful plugin architecture.

Here are 1,083 public repositories matching this topic...

mercurius
all2pie
all2pie commented Jun 28, 2022

I have modified the gateway example to add the errorFormatter in both.

I am passing data, extensions & statusCode from the service but I am not able to receive that in gateway, here is the code:

'use strict';
const Fastify = require('fastify');
const mercurius = require('..');
const { ErrorWithProps } = mercurius;

async function createService(port, schema, resolvers = {}) {
 
enhancement good first issue
graphql-ws
andreasdamm
andreasdamm commented May 27, 2022

Story

As a client I want to have a positive acknowledgement for a subscription.

Currently, the only responses to a subscription are error or complete. There is no way to ascertain when the subscription requested has actually been processed in the success case.

Knowing when a subscription has been made successfully is important in processing flows where executing the next step is depen

enhancement good first issue
Eomm
Eomm commented Jan 20, 2022

Add the require('fastify-cli/helper') utility to the TS template.
Now it exports the old interface.

The test was failing during the implementation:

templates/app-ts/test/routes/example.test.ts 2> TSError: ⨯ Unable to compile TypeScript:
templates/app-ts/test/routes/example.test.ts 2> templates/app-ts/test/helper.ts(3,23): error TS7016: Could not find a declaration file
for module '
jstayton
jstayton commented Apr 8, 2022

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

Hey 👋🏻

I tried using onExceeding and onExceeded globally, like this:

fastify.register(import('fastify-rate-limit'), {
  max: 1,
  timeWindow: '1 minute',
  enableDraftSpec: true,
  onExceeding: function (request) 
enhancement help wanted good first issue
climba03003
climba03003 commented Oct 31, 2021

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Fastify version

3.x.x

Plugin version

No response

Node.js version

14.x

Operating system

Linux

Operating system version (i.e. 20.04, 11.3, 10)

20.04

Description

Migrate out of depreca

a-a-GiTHuB-a-a
a-a-GiTHuB-a-a commented Apr 3, 2022

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Fastify version

N/A

Plugin version

N/A

Node.js version

N/A

Operating system

Linux

Operating system version (i.e. 20.04, 11.3, 10)

N/A

Description

In the index.d.ts file, I noticed t

Created by Matteo Collina

Released October 2016

Organization
fastify
Website
fastify.io

Related Topics

framework json-schema nodejs