openfga / sdk-generator

OpenFGA Client SDK Generator
Apache License 2.0
14 stars 30 forks source link

fix(java-sdk): Fix tests for assertions model changes #361

Closed jimmyjames closed 1 month ago

jimmyjames commented 1 month ago

Description

Fixes the java-sdk tests for writing assertions, which was caused by the API now allowing contextual tuples to be specified on the request to create assertions.

I created https://github.com/openfga/sdk-generator/issues/360 to update our models to support this in the SDK, but for now we're just fixing the tests.

(aside - we should look into if there's a way for the java SDK tests to not be so picky)

References

Unblocks https://github.com/openfga/sdk-generator/pull/359 and https://github.com/openfga/sdk-generator/pull/358

Review Checklist

jimmyjames commented 1 month ago

Instead of this, a change was made to pin the OpenFGA API version: #362