You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OmitReadOnly can be created using https://stackoverflow.com/a/49579497/27658. Alternatively, OmitWriteOnly<PetDto> = Omit<PetDto, "foo" | "bar" | "baz"> can be generated (but the LHS syntax is probably to possible).
If this is done, the test data generator must also be updated to support Full, Input, Output (and perhaps MinimalOutput and MinimalInput) variants as well.
The text was updated successfully, but these errors were encountered:
Motivating example with
OmitReadOnly
andOmitWriteOnly
:OmitReadOnly can be created using https://stackoverflow.com/a/49579497/27658. Alternatively,
OmitWriteOnly<PetDto> = Omit<PetDto, "foo" | "bar" | "baz">
can be generated (but the LHS syntax is probably to possible).If this is done, the test data generator must also be updated to support Full, Input, Output (and perhaps MinimalOutput and MinimalInput) variants as well.
The text was updated successfully, but these errors were encountered: