ViewUpgrades

The 9.x records of a view, read as revision 2: 9.x recorded no kind, which it defined as the config's own kind (its ViewKind), so the upgrade takes it from there. A 9.x config without a kind, or with one that is no ViewKind, fails the read: the view is not guessed into a kind, and the read names the view.

Functions

Link copied to clipboard
fun viewCreatedFrom1(node: ObjectNode): ObjectNode
Link copied to clipboard
@Upgrade(event = ViewSaved::class, from = 1)
fun viewSavedFrom1(node: ObjectNode): ObjectNode