typescriptoperations

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package typescriptoperations ports @graphql-codegen/typescript-operations: it generates TypeScript types for the GraphQL operations (queries, mutations, subscriptions, fragments) — the selection-set → object-type lowering.

This implements the default `preResolveTypes` mode, which inlines resolved types directly (e.g. `{ me: { id: string, name: string } }`).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

Plugin implements plugin.Plugin for the "typescript-operations" plugin.

func (Plugin) Generate

func (Plugin) Generate(schema *ast.Schema, docs []*plugin.DocumentFile, cfg plugin.ConfigMap, info *plugin.PluginInfo) (*plugin.Output, error)

func (Plugin) Name

func (Plugin) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL