Whether to have dedicated insert objects with optional fields for anything with possible defaults or serial / auto incrementing ids.
Very open to input.
Was thinking something like having the input object, for example a 'product: impl Into' with a From implementation generated so you could use either the product or the product input object. But maybe this makes it more needlessly complex for the consumer.
Currently I'm at some indecision for inserts.
Whether to have dedicated insert objects with optional fields for anything with possible defaults or serial / auto incrementing ids.
Very open to input.
Was thinking something like having the input object, for example a 'product: impl Into' with a From implementation generated so you could use either the product or the product input object. But maybe this makes it more needlessly complex for the consumer.