-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LB3 model import: preserve connector-specific metadata in property definitions #3810
Comments
@bajtos I find that lb4 import-lb3-models command already supports including connector metadata in property definitions (I checked out of curiosity because the existing code does not restrict flowing of db metadata from lb3) |
I was able to create the following typescript class from the LoopBack 3x db example , Todo model json
|
I tried changing the property name of desc to desc2 just to check if the column metadata is used indeed, and it all works perfectly. |
That's awesome, it means we have less work to do 🚀 Your updated Acceptance criteria looks good to me.
|
Consider the following LB3 model definition:
Expected property definition in LB4 model file:
Acceptance criteria
Importing-LB3-models.md
, remove the relevant point from the list of known limitationsThe text was updated successfully, but these errors were encountered: