@vnodes/graphql
    Preparing search index...

    Function Field

    • @Field() decorator is used to mark a specific class property as a GraphQL field. Only properties decorated with this decorator will be defined in the schema.

      Returns PropertyDecorator & MethodDecorator

    • @Field() decorator is used to mark a specific class property as a GraphQL field. Only properties decorated with this decorator will be defined in the schema.

      Type Parameters

      Parameters

      • options: FieldOptionsExtractor<T>

      Returns PropertyDecorator & MethodDecorator

    • @Field() decorator is used to mark a specific class property as a GraphQL field. Only properties decorated with this decorator will be defined in the schema.

      Type Parameters

      Parameters

      • OptionalreturnTypeFunction: ReturnTypeFunc<T>
      • Optionaloptions: FieldOptionsExtractor<T>

      Returns PropertyDecorator & MethodDecorator