Type defination Errors
Hi, When we generate models using discover method, models property types are generating with upper camel case i.e., 'String' instead of 'string' . Then we are getting errors like this.
Argument of type 'String | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'
How do we resolve these issues?
Hi , can you give more details about this issue like a model example or a way to reproduce =)
I thought it's been fixed through https://github.com/strongloop/loopback-next/issues/2953. I assume you're using the latest @loopback/cli?
Closing due to inactivity. @sureshkodur, if you still encounter this issue, please feel free to open a new issue with details to reproduce the problem. Thanks!
Yes @dhmlau . This issue has been resolved. Thanks