How to extract from a model one prop to be an independent model so it can be used in other places #1583
Closed
2 tasks done
Labels
needs reproduction/info
Needs more info or reproduction in order to fix it
Question
Hi,
I am trying to extract from a model one prop to be an independent model so it can be used in other places, What I have now is:
The above code is working fine. when I try to extract propB to a different model like this:
I am getting: value [XXX] is not assignable to type: 'ModelB' (value is not plain object) I keep getting:value [one of the Object.values] is not assignable to type: 'EnumName' (Value is not a plain object)`
I think it similar to issue #1403 but I don't use type script at the moment.
I prefer NOT to use
types.compose
for readability.The text was updated successfully, but these errors were encountered: