typenameIntrospectionField top-level property

GraphQLObjectField<String, String, Object?> typenameIntrospectionField
final

The introspection typename GraphQLObjectField

Implementation

final typenameIntrospectionField = graphQLString.nonNull().field(
      '__typename',
      resolve: (_, ctx) => ctx.objectCtx.objectType.name,
    );