function adaptGraphqlModule
adaptGraphqlModule(module: GraphqlModuleLike): GraphqlRuntime

Adapt a graphql module to the internal runtime interface.

This is a pure function that wraps the graphql module exports.

Parameters

Return Type

GraphqlRuntime

Usage

import { adaptGraphqlModule } from "graphql-plugin/src/index.ts";