abstract class SimpleObjectFilterDefinitionEntry<T : FilterEntryDefinition>(name: String, description: String, val typeDescription: String, val typeName: String, fields: List<T>) : FilterEntryDefinition

Base lass for FilterEntryDefinition which build a filter by joining a list of sub filters (fields) Creates a filter where any amount of fields (0 to all) can be present

Parameters

name

the name of the field on the GraphQLInputObjectType

description

the description of the field

typeDescription

the description of the generated GraphQL object type

typeName

name of the constructed GraphQLInputType which serves as input for the filter

fields

list of fields for the filter, when evaluating these fields are joined by AND

Inheritors

Constructors

Link copied to clipboard
constructor(name: String, description: String, typeDescription: String, typeName: String, fields: List<T>)

Properties

Link copied to clipboard
Link copied to clipboard

Fields associated by name

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun parseEntry(value: Any?, permission: Permission?): FilterEntry

Parses the entry of the provided filter

Link copied to clipboard
open override fun toGraphQLType(inputTypeCache: CacheMap<String, GraphQLInputType>): GraphQLInputType

Transforms this into a GraphQLInputType