@PublicApi public interface GraphqlFieldVisibility
Modifier and Type | Method and Description |
---|---|
GraphQLFieldDefinition |
getFieldDefinition(GraphQLFieldsContainer fieldsContainer,
java.lang.String fieldName)
Called to get a named field from an object type or interface
|
default GraphQLInputObjectField |
getFieldDefinition(GraphQLInputFieldsContainer fieldsContainer,
java.lang.String fieldName)
Called to get a named field from an input object type
|
java.util.List<GraphQLFieldDefinition> |
getFieldDefinitions(GraphQLFieldsContainer fieldsContainer)
Called to get the list of fields from an object type or interface
|
default java.util.List<GraphQLInputObjectField> |
getFieldDefinitions(GraphQLInputFieldsContainer fieldsContainer)
Called to get the list of fields from an input object type
|
java.util.List<GraphQLFieldDefinition> getFieldDefinitions(GraphQLFieldsContainer fieldsContainer)
fieldsContainer
- the type in playGraphQLFieldDefinition
sGraphQLFieldDefinition getFieldDefinition(GraphQLFieldsContainer fieldsContainer, java.lang.String fieldName)
fieldsContainer
- the type in playfieldName
- the name of the desired fieldGraphQLFieldDefinition
or null if its not visibledefault java.util.List<GraphQLInputObjectField> getFieldDefinitions(GraphQLInputFieldsContainer fieldsContainer)
fieldsContainer
- the type in playGraphQLInputObjectField
sdefault GraphQLInputObjectField getFieldDefinition(GraphQLInputFieldsContainer fieldsContainer, java.lang.String fieldName)
fieldsContainer
- the type in playfieldName
- the name of the desired fieldGraphQLInputObjectField
or null if its not visible