-
Notifications
You must be signed in to change notification settings - Fork 62
Update master with latest preview features #44
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
- Adds tests to validate similar behavior to HttpProvider - Add modified checks to not authenticate SimpleHttprovider when authprovider is presents - Fixed Ambiguous call in test.
* Improve Error class information * Added Target, Details, and ClientRequestId properties and updated the ToString() method. * Added support for adding the raw response body. **Addresses** * Fixes #23 * Fixes microsoftgraph/msgraph-sdk-dotnet#316
…impleHttpProvider.
… into andrueastman/simplehttpprovider
…vider Add SimpleHttpProvider for GraphClientFactory compatibility
| /// <param name="baseUrl">The base service URL. For example, "https://graph.microsoft.com/v1.0."</param> | ||
| /// <param name="httpClient">The custom <see cref="HttpClient"/> to be used for making requests</param> | ||
| public BaseClient( | ||
| string baseUrl, |
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.
@MIchaelMainer @peombwa Should we remove the BaseUrl parameter as HttpClient has a BaseAddress property? Or is it better to keep it there for consistency?
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 think we need to keep this. We don't use the BaseAddress set on HttpClient in the service library. We build the URL from the BaseClient.baseUrl IIRC.
We would need to change the PR in the generator if we remove the BaseUrl parameter.
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.
@darrelmiller I agree with Michael, let's keep it for now. Everything else LGTM.
| /// <param name="baseUrl">The base service URL. For example, "https://graph.microsoft.com/v1.0."</param> | ||
| /// <param name="httpClient">The custom <see cref="HttpClient"/> to be used for making requests</param> | ||
| public BaseClient( | ||
| string baseUrl, |
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.
@darrelmiller I agree with Michael, let's keep it for now. Everything else LGTM.
Kicks off a production build. If all goes well, expect a deployment approval request for 1.18.0 after this PR is merged.