Open eugeniobaglieri opened 1 year ago
Yeah the trouble is there is no good way to represent time
in Swift (the same applies to date
fields as well). I'm not sure what the best suggested solution to this is, but maybe @gwynne can advise.
Each time this comes up I'm of the mind we should create our own types for only date and only time but there are a lot of edge cases
Hi, I'm trying to save the time giving a swift date object. I'm not getting any error on save and the time is saved without errors. But when I try to query this model I get this error:
I defined this model:
with this schema:
On query i should obtain an object with populated openingTime and closingTime
Environment