Open
Description
When I have a model that extends a {Omit/Pick}Properties, no matter if using ...
(spread) or is
or extends
, the model should be able to be intelligent of the properties that comes from the base model. Instead, it's giving the error:
Model doesn't have member <property>
model User {
id: string;
name: string;
country: string;
phone: string;
}
model UserView {
...OmitProperties<User, "phone">
}
model UserFindOneInput {
id: UserView.id
}
model UserFindOneOutput {
...UserView
}