mean-expert-official / loopback-sdk-builder

Tool for auto-generating Software Development Kits (SDKs) for LoopBack
Other
399 stars 178 forks source link

lb-wsdk does not generate class and interface for embedsOne and embedsMany relation #607

Open haresh333 opened 6 years ago

haresh333 commented 6 years ago

What type of issue are you creating?

What version of this module are you using?

Write other if any:

Please add a description for your issue:

I am using "@mean-expert/loopback-sdk-builder": "^2.3.1", to generate sdk. for loopback3.0 project

I have a model which has beloe embeded relation in a parent model. "eventInfo": { "type": "embedsOne", "model": "EventInfo", "property": "eventInfo", "options": { "validate": true, "forceId": false } },

the lb-sdk generates .ts file (class and interface definition) for parent model, but does not generate .ts file for this embeded relation

jonathan-casarrubias commented 6 years ago

Hi @haresh333, that is not really a bug but a feature request, embedded objects are not supported.

If you believe you are able to extend the SDK and implement embedded objects the community would appreciate it.