Skip to content

Add additional types to the schema #584

@de55

Description

@de55

I'd like to be able to make it so that Collection<T> is treated equivalently to List<T>. Is there any possible way to do that now with the hooks? And if not, would we be able to make this piece configurable:

internal fun KClass<*>.isListType(): Boolean = this.isSubclassOf(List::class) || this.java.isArray

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions