Skip to content

Commit

Permalink
Fix older node compat
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Sep 9, 2022
1 parent d5aec1f commit e7f2fd8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/popular-needles-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphql-mesh/http': patch
---

fix older version support
1 change: 1 addition & 0 deletions packages/http/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { createServerAdapter, ServerAdapter } from '@whatwg-node/server';
import { Router } from 'itty-router';
import { withCookies } from 'itty-router-extras';
import { graphqlHandler } from './graphqlHandler';
import { Response } from '@whatwg-node/fetch';

export function createMeshHTTPHandler<TServerContext>({
baseDir,
Expand Down

0 comments on commit e7f2fd8

Please sign in to comment.