sdk-generator icon indicating copy to clipboard operation
sdk-generator copied to clipboard

Java SDK - Allow Configuration override per request

Open booniepepper opened this issue 2 years ago • 1 comments

For each request, allow a BaseConfiguration to be added as a parameter. When added, they should be used instead of values from Configuration it was initialized with

Reminder: Call assertValid()

booniepepper avatar Aug 16 '23 16:08 booniepepper

Implemented here: https://github.com/openfga/sdk-generator/pull/189

As noted in comments, some test cases (config overridden requests) haven't been written yet. The most critical parts of the code (Configuration.override(...)) are sufficiently covered

booniepepper avatar Aug 24 '23 13:08 booniepepper

Closing this issue, as it appears to be a straggler that was not closed when https://github.com/openfga/sdk-generator/pull/189 was merged.

dyeam0 avatar Nov 04 '25 23:11 dyeam0

Oops, my mistake, thanks for getting that @dyeam0

booniepepper avatar Nov 04 '25 23:11 booniepepper