Question about optional fields. Although I marked ...
# serialization
g
Question about optional fields. Although I marked a field to be String?, kotlin-serialization (client js) expects the fields to be in the json, even when null? Here’s the error:
Copy code
MissingFieldException
message_8yp7un$_0: "Field 'firstName' is required, but it was missing"
name: "MissingFieldException"
The json response was:```{id: 8}````