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

x/oak_graphql/graphql-tools/utils/index.ts

A simple graphql middleware for oak deno framework.
Latest
import * as oakGraphql from "https://deno.land/x/oak_graphql@0.6.4/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