public class DeprecatedDefinitionBuilder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static DeprecatedDefinition |
build(GeneratedLanguage generatedLanguage,
graphql.language.Directive directive)
Get a definition of @deprecated annotation for a specified language.
|
static DeprecatedDefinition |
build(MappingContext mappingContext,
graphql.language.DirectivesContainer<?> directivesContainer)
Get a definition of @deprecated based on a given directive
|
public static DeprecatedDefinition build(MappingContext mappingContext, graphql.language.DirectivesContainer<?> directivesContainer)
mappingContext - Global mapping contextdirectivesContainer - GraphQL directive containerpublic static DeprecatedDefinition build(GeneratedLanguage generatedLanguage, graphql.language.Directive directive)
generatedLanguage - Language of code generationdirective - GraphQL @deprecated directive