You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(sequelize) Warning: Model "com_users" is declaring public class fields for attribute(s): "user_id", "user_name", "password", "last_login", "now_user_group", "mor_user_group", "gen_user_group".
These class fields are shadowing Sequelize's attribute getters & setters.
See https://sequelize.org/main/manual/model-basics.html#caveat-with-public-class-fields
Possible solutions:
Use raw: true. This disables many benefits of sequelize (investigate how much)
Fixed it using the PR mentioned above. Though I didn't use the messy fork directly but copied the relevant file auto-generator.ts as well as removed unused variants from type Dialect. Seemed to work.
The automatically generated files have a problem:
Possible solutions:
raw: true
. This disables many benefits of sequelize (investigate how much)The text was updated successfully, but these errors were encountered: