okta / okta-sdk-dotnet

A .NET SDK for interacting with the Okta management API, enabling server-side code to manage Okta users, groups, applications, and more.
Other
160 stars 100 forks source link

Update templates to use the latest version of RestSharp #648

Closed laura-rodriguez closed 1 year ago

laura-rodriguez commented 1 year ago

Summary

Upgrades RestSharp dependency to 110.2.0.

Upgrading to RestSharp 110.2.0 requires a few breaking changes. Some interfaces, such as IRestRequest or IRestResponse, no longer exist. Also, the RestClient configuration has been moved to a new class called RestClientOptions. Several tests were updated to align with the new version.

Models have been updated due to a bug fix in GetHashCode. Now, StringEnum properties are checked for null values before calling GetHashCode().

Fixes #606

Type of PR

Test Information

.NET Version: Os Version:

Signoff