Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/bq-oak-graphql/graphql-tools/utils/Interfaces.ts>GenericFieldMapper

A simple graphql middleware for oak deno framework.
Latest
type alias GenericFieldMapper
import { type GenericFieldMapper } from "https://deno.land/x/bq-oak-graphql@v2.0/graphql-tools/utils/Interfaces.ts";

Type Parameters

F extends any
definition: (
fieldConfig: F,
fieldName: string,
typeName: string,
schema: any,
) =>
| F
| [string, F]
| null
| undefined