Checklist
Description
When comparing ClientCheckRequest with the Equals method, the ContextualTuples are compared by reference.
Expectation
The Equals method should compare the ContextualTuples by content (i.e. using Enumerable.SequenceEqual).
Reproduction
- Create two identical ClientCheckRequest with same (but not same reference) contextual tuple lists
- Compare the requests using Equals of ClientCheckRequest
- Returns false instead of true
OpenFGA SDK version
0.7.0
OpenFGA version
v1.10.3
SDK Configuration
Logs
No response
References
No response
Checklist
Description
When comparing ClientCheckRequest with the Equals method, the ContextualTuples are compared by reference.
Expectation
The Equals method should compare the ContextualTuples by content (i.e. using Enumerable.SequenceEqual).
Reproduction
OpenFGA SDK version
0.7.0
OpenFGA version
v1.10.3
SDK Configuration
Logs
No response
References
No response