Package graphql

Annotation Interface DuckTyped


@Retention(RUNTIME) @Target({METHOD,PARAMETER}) public @interface DuckTyped
An annotation that marks a method return value or method parameter as returning a duck type value.

For efficiency reasons, the graphql engine methods can return Object values which maybe two well known types of values. Often a CompletableFuture or a plain old Object, to represent an async value or a materialised value.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details