The id in the device schema is required. But for my create route my client does not have this information (id is generated by server). Does this mean that I need to create a second schema like DeviceWithoutId for all my create routes?
Good point. I saw this issue as well. Sometimes a separate Payload type may be required, because the create operation requires only a subset of fields.
The id in the device schema is required. But for my create route my client does not have this information (id is generated by server). Does this mean that I need to create a second schema like DeviceWithoutId for all my create routes?
Good point. I saw this issue as well. Sometimes a separate Payload type may be required, because the create operation requires only a subset of fields.
I really like the newsletters! Keep it up! ❤️
Thanks, will keep posting!