MarshalJSON for ClientWriteRequestWriteResponse and ClientWriteRequestDeleteResponse #144
Open
6 tasks done
Labels
bug
Something isn't working
Checklist
Description
Methods MarshalJSON for ClientWriteRequestWriteResponse and ClientWriteRequestDeleteResponse returns this error:
HttpResponse should be omitted from json marshal to avoid this issue:
go-sdk/client/client.go
Line 1386 in 6bd5567
go-sdk/client/client.go
Line 1406 in 6bd5567
Expectation
I should be able to answer my clients with the result of a
ClientWriteRequest
Reproduction
OpenFGA SDK version
v0.6.3
OpenFGA version
v1.6.0
SDK Configuration
fga, err := client.NewSdkClient(&client.ClientConfiguration{ ApiUrl: "...", StoreId: "...", AuthorizationModelId: "..." })
Logs
No response
References
No response
The text was updated successfully, but these errors were encountered: