Post

Replies

Boosts

Views

Activity

Reply to How to declare a TableColumn with nullable field?
I already had an init constructor for the model. I tried initializing it where it's declared in the model, var productURL: String? = nil, however, that didn't make a difference.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Reply to How to declare a TableColumn with nullable field?
One workaround would be to change my model to not have nullable fields, and set to "" when decoding a null. However, that to me, is a kludge. My model data is coming from a database table in Postgres where the column(s) are NULLABLE.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21