Files
klz-cables.com/.pnpm-store/v10/files/4b/d7350d616cfb94709d9187425e75dea9a7c25142a3b34449dc7f40ecff7e6cacd48947dcca69a6dcabac0d014c147ba2ae21f3c91868e1c15140c8a64b78a0
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

24 lines
706 B
Plaintext

import { createHandler as httpCreateHandler, } from './http.mjs';
/**
* Create a GraphQL over HTTP spec compliant request handler for
* the Node environment.
*
* ```js
* import http from 'http';
* import { createHandler } from 'graphql-http/lib/use/node';
* import { schema } from './my-graphql-schema/index.mjs';
*
* const server = http.createServer(createHandler({ schema }));
*
* server.listen(4000);
* console.log('Listening to port 4000');
* ```
*
* @category Server/node
*
* @deprecated Please use {@link use/http.createHandler | http} or {@link use/http2.createHandler | http2} adapters instead.
*/
export function createHandler(options) {
return httpCreateHandler(options);
}