From 948f3a458271a8430aa81995ad6b48db3a2545ae Mon Sep 17 00:00:00 2001 From: Holger Brandl Date: Sat, 27 Aug 2022 19:29:20 +0200 Subject: [PATCH] Adjusted Passenger schema Adjusted Passenger schema to reflect nullability of age attribute. With the fix, we can also use filter: ` .filter{ it[Passenger::age]!=null}` --- docs/StardustDocs/topics/KPropertiesApi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/StardustDocs/topics/KPropertiesApi.md b/docs/StardustDocs/topics/KPropertiesApi.md index 4bbc21fc76..3f3ec5471b 100644 --- a/docs/StardustDocs/topics/KPropertiesApi.md +++ b/docs/StardustDocs/topics/KPropertiesApi.md @@ -11,7 +11,7 @@ This can be done using `::` expression that provides [property references](https data class Passenger( val survived: Boolean, val home: String, - val age: Int, + val age: Int?, val lastName: String )