Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/bq-oak-graphql/graphql-tools/utils/index.ts

A simple graphql middleware for oak deno framework.
Latest
import * as bqOakGraphql from "https://deno.land/x/bq-oak-graphql@v2.0/graphql-tools/utils/index.ts";

Functions

Given a selectionSet, adds all of the fields in that selection to the passed in map of fields, and returns it at the end.

Get the key under which the result of this resolver will be placed in the response JSON. Basically, just resolves aliases.

Get all GraphQL types from schema without:

Given an AsyncIterable and a callback function, return an AsyncIterator which produces values mapped via calling the callback function.

Type Aliases