Skip to content

Commit

Permalink
Merge pull request #15 from microsoftgraph/feature/public-version
Browse files Browse the repository at this point in the history
- Made the client options public so they can be used by consumers when customizing middleware
  • Loading branch information
baywet authored Nov 22, 2021
2 parents 9b57fdb + f1b8090 commit 5c64e80
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [0.2.1] - 2021-11-19

### Changed

- Made the client options public so they can be used by consumers when customizing middleware

## [0.2.0] - 2021-11-17

### Changed
Expand Down
5 changes: 5 additions & 0 deletions graph_request_adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ var clientOptions = core.GraphClientOptions{
GraphServiceLibraryVersion: "0.2.0",
}

// GetDefaultClientOptions returns the default client options used by the GraphRequestAdapterBase and the middleware.
func GetDefaultClientOptions() core.GraphClientOptions {
return clientOptions
}

// GraphRequestAdapter is the core service used by GraphServiceClient to make requests to Microsoft Graph.
type GraphRequestAdapter struct {
core.GraphRequestAdapterBase
Expand Down

0 comments on commit 5c64e80

Please sign in to comment.