-
Notifications
You must be signed in to change notification settings - Fork 146
Workload helper updates #73
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
Conversation
|
|
||
| /** | ||
| * Add an image part to the multipart body | ||
| * Add an image/jpeg part to the multipart body |
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.
Does OneNote only support adding jpegs? If so, let's rename this from addImagePart to addJpegPart. If it supports other types, we may want to consider adding an enum of supported image types.
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.
I don't think that this helps much more than just using the addFilePart so I'll 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.
👍
Doesn't really save much code and is confusing because an image can be many types other than jpeg
|
|
||
| /** | ||
| * Add a string part to the multipart body | ||
| * @param name The name of the part |
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.
nit: fix case
|
|
||
| /** | ||
| * Add a file part to the multipart body | ||
| * @param name The name of the part |
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.
nit: fix case
12f6b8e - Add helper for multipart header and update OneNote multipart test to use header
88f0cb6 - Add default @odata.type parameters for Planner models, so the user does not need to specify them herself