-
Notifications
You must be signed in to change notification settings - Fork 192
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
transient annotation is implemented #219
transient annotation is implemented #219
Conversation
transient annotation is implemented to support the transient fields in entities these fields should not be persisted to data tables in project's database and they only serve the data integrity
Hi , please review and let me know if there is any refactor is needed Regards description: transient annotation is implemented to support the transient fields in entities these fields should not be persisted to data tables in project's database and they only serve the data integrity |
transient annotation is implemented
154624a
to
fddfd76
Compare
Hi @Ghomi-Dev and thanks for your contribution! I'll review it as soon as possible. |
Hi @vitusortner |
Hi @vitusortner |
@@ -231,7 +237,7 @@ class EntityProcessor extends Processor<Entity> { | |||
@nonNull | |||
String _getConstructor(final List<Field> fields) { | |||
final columnNames = fields.map((field) => field.columnName).toList(); | |||
final constructorParameters = _classElement.constructors.first.parameters; | |||
final constructorParameters = _classElement.constructors.first.parameters. where((f)=> columnNames.contains(f.name)).toList(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this filtering does not allow to change a column name in the ColumnInfo to any except the original name of the field
…umnInfo to any except the original name of the field. pinchbv#219 (comment)
Closed by #248 |
@Ghomi-Dev do you know when this feature @transient will be release. Next version? |
|
transient annotation is implemented to support the transient fields in entities
these fields should not be persisted to data tables in project's database and they only serve the data integrity