Skip to main content

GraphQLFieldExtensions <_TSource, _TContext, _TArgs>

Custom extensions

@remarks

Use a unique identifier name for your extension, for example the name of your library or project. Do not use a shortened identifier as this increases the risk of conflicts. We recommend you add at most one extension field, an object which can contain all the values you need.

We’ve provided these template arguments because this is an open type and you may find them useful.

Type parameters

  • _TSource
  • _TContext
  • _TArgs = any

Indexable

[attributeName: string]: unknown