Package-level declarations
Types
Link copied to clipboard
class UnionConverter(converters: Collection<GenericConverter>, typeName: Key? = null, shouldThrow: Boolean = false, var validator: <Error class: unknown class><Any> = null) : CoalescingConverter<Any>
Experimental converter allowing for combining other converters together, with the caveat of type erasure.
Functions
Link copied to clipboard
fun Arguments.optionalUnion(displayName: Key, description: Key, typeName: Key? = null, shouldThrow: Boolean = false, vararg converters: GenericConverter, validator: <Error class: unknown class><Any?> = null): OptionalCoalescingConverter<Any>
Create an optional union converter, for combining other converters into a single argument - with the caveat of type erasure.
Link copied to clipboard
fun Arguments.union(displayName: Key, description: Key, typeName: Key? = null, shouldThrow: Boolean = false, vararg converters: GenericConverter, validator: <Error class: unknown class><Any> = null): UnionConverter
Create a union converter, for combining other converters into a single argument - with the caveat of type erasure.