Federico Torres
02/10/2023, 3:36 PMfun foo(map: Map<String, SomeDataClass?>)
When I try to use it from Swift, SomeDataClass?
has the type Any
:
func foo(map: [String: Any])
which forces me to downcastmkrussel
02/10/2023, 3:37 PMSomeDataClass
to hide the nulls.mkrussel
02/10/2023, 3:38 PMFederico Torres
02/10/2023, 5:25 PM