-
Notifications
You must be signed in to change notification settings - Fork 45
Conversation
Current Aviator status
This PR was merged using Aviator. See the real-time status of this PR on the Aviator webapp. Use the Aviator Chrome Extension to see the status of your PR within GitHub.
|
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.
some nits; generally lgtm.
ec729fb
to
7097373
Compare
08cff81
to
da600dc
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.
just skimming and thought I'd leave a note
src/internal/converters/eml/eml.go
Outdated
// TODO(pandeyabs): This is a stripped down copy of messageable to | ||
// eml conversion, it can be folded into one function by having a post | ||
// to messageable converter. |
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.
Assuming the function names are the same between the Postable and Messageable interfaces, we could just define our won interface that includes the subset of functions that are accessed in this code. If the function names aren't the same between the graph SDK types then we can make a new type that embeds one of the graph SDK types and implements the proper function names we need. It'll just call the corresponding function on the graph SDK type. I think we did something similar for calendar events which have GetCalendar()
instead of GetParentFolderId()
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.
Function names aren't the same. We can make a new type like you said, or convert Postable
to Messageable
. Either should work out. Tracking this as part of #5155
464cf5f
to
3ab954b
Compare
This pull request failed to merge: some CI status(es) failed. Remove the Failed CI(s): Retention-Test-Suite-Trusted |
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 1 New issue |
Does this PR need a docs update or release note?
Type of change
Issue(s)
Test Plan