Astemir-10 / EmptySubject

0 stars 0 forks source link

Codable #1

Open avgx opened 4 years ago

avgx commented 4 years ago

Why members of CategoryMealItem, MealModel are nullable?

It seems that api send not nullable

Why var?

It's better to use immutable structures with members as "let" constants.

Astemir-10 commented 4 years ago

Yes. I agree the API does not really send null. I fixed everything.