-
Notifications
You must be signed in to change notification settings - Fork 60
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
Make MailUtils lazy #2204
Make MailUtils lazy #2204
Conversation
1517f38
to
5f467e4
Compare
+ m.approverUsername | ||
+ "because : " | ||
+ m.reasonToDecline), | ||
REGISTER_USER_REQUEST("TODO", (Function<MailInfo, String>) null), |
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.
No usages of this were found, should we just remove it?
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.
Yeah you can remove it, its called from another area (that i literally was looking at a few hours ago because of a seperate bug Murali fixed )
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.
ok, thanks for confirmation, removed
+ m.acl | ||
+ " by team : " | ||
+ m.username), | ||
NEW_USER_ADDED("TODO", (Function<MailInfo, String>) null), |
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.
No usages of this were found, should we just remove it?
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.
Also good to go
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.
ok, thanks for confirmation, removed
94b1455
to
ed9c64e
Compare
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.
LGTM
I did some testing on Acls, topics and connectors didnt find any issues.
Signed-off-by: Sergey Nuyanzin <[email protected]>
Signed-off-by: Sergey Nuyanzin <[email protected]>
Thanks for taking a look |
The main idea is ,ovement knowledge about what property should be loaded for a specific
MailType
toMailType
itself. After that it makes it loading a lazy way by loading only what is required