Skip to content

Conversation

@marcominerva
Copy link
Owner

Updated the ApiKey and Credential record classes to make the Roles parameter optional by providing a default value of null. This change allows for the creation of instances without explicitly specifying roles. Overrode the Equals method in both classes to provide custom equality comparisons. Refactored the GetHashCode methods to use expression-bodied members for simplicity.

Updated the `ApiKey` and `Credential` record classes to make the `Roles` parameter optional by providing a default value of `null`. This change allows for the creation of instances without explicitly specifying roles. Overrode the `Equals` method in both classes to provide custom equality comparisons. Refactored the `GetHashCode` methods to use expression-bodied members for simplicity.
@marcominerva marcominerva merged commit 3b34c13 into master Oct 16, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants