Open vladrmnv opened 7 years ago
Enhancement
Referencing https://loopback.io/doc/en/lb3/LoopBack-types.html#object-types, LoopBack allows for type definitions in model's "object" properties, but the sdk builder translates those into type "any" on model's typescript interface
I'm opening the issue as a suggestion for improvement and a discussion as to how to handle that
Same problem when define property as other model:
"property": { "user": { "type": "ModelNameA" } }
SDK build property user as type any
user
any
What type of issue are you creating?
Enhancement
Referencing https://loopback.io/doc/en/lb3/LoopBack-types.html#object-types, LoopBack allows for type definitions in model's "object" properties, but the sdk builder translates those into type "any" on model's typescript interface
I'm opening the issue as a suggestion for improvement and a discussion as to how to handle that