-
Notifications
You must be signed in to change notification settings - Fork 362
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
discoverSchema makes table lower camel case columns to be completely lowercase #1268
Comments
Hi @ariskemper the dependency version has @raymondfeng when user discovers a lower camel case property in mssql (e.g. |
@raymondfeng Also users are interested in providing a custom naming convention in migration/discovery. details see issue: loopbackio/loopback-connector-mysql#57 Does loopback has its naming convention documented somewhere? Or any link of the strategy we can follow? |
@jannyHou its not connector specific, because code in loopback-datasource-juggler does this. |
Please note that discoverSchema allows |
@ariskemper please check comment #1268 (comment) |
@raymondfeng @jannyHou i know, it provides options.nameMapper, but i think that camel case named columns should stay camel cased? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the |
Hi, I have same issue. How can resolve this issue? |
please check #3343 |
Bug or feature request
Description of feature (or steps to reproduce if bug)
if table column name is for example zipCode, it will be named zipcode
Link to sample repo to reproduce issue (if bug)
Expected result
Properties part of json model schema
Actual result (if bug)
Properties part of json model schema
Additional information (Node.js version, LoopBack version, etc)
Additional information (Node.js version, LoopBack version, etc)
Node.js: 6.9.2
loopback: 3.4.0
loopback-datasource-juggler: 3.2.0
loopback-connector-mysql: 3.0.0
The text was updated successfully, but these errors were encountered: