ScanReport

data class ScanReport(val enums: List<RegisteredType>, val composites: List<RegisteredType>, val dynamicTypes: List<RegisteredType>, val unresolved: List<RegisteredType> = emptyList())

What a scan found and registered. Worth logging or checking at startup: a mistyped package registers nothing and raises nothing.

Constructors

Link copied to clipboard
constructor(enums: List<RegisteredType>, composites: List<RegisteredType>, dynamicTypes: List<RegisteredType>, unresolved: List<RegisteredType> = emptyList())

Properties

Link copied to clipboard

Data classes registered as PostgreSQL COMPOSITE types.

Link copied to clipboard

Classes registered as dynamic_dto discriminators.

Link copied to clipboard

Enums registered as PostgreSQL ENUM types.

Link copied to clipboard
val total: Int

How many classes were registered in total.

Link copied to clipboard

The enums and composites whose type the database does not have. They are registered all the same and appear in enums or composites too: either the name is wrong, or the type is created later and maps once reloadTypes() has run.

Functions

Link copied to clipboard

Whether the scan registered nothing at all.

Link copied to clipboard
open override fun toString(): String