looker-open-source / sdk-codegen

One SDK to rule them all, and in the codegen bind them
MIT License
231 stars 191 forks source link

feat: update Go SDK to accept auth session interface #1488

Closed JCPistell closed 1 month ago

JCPistell commented 1 month ago

This change alters the Go SDK client struct to accept an interface instead of the AuthSession. The interface allows for custom implementations of the RTL package, but since the existing AuthSession fulfills the new interface (its based on the Do method from the current AuthSession after all) this change will be completely transparent to those who are currently using the current AuthSession.

github-actions[bot] commented 1 month ago

Codegen Tests

418 tests   400 :white_check_mark:  44s :stopwatch:  18 suites   18 :zzz:   1 files      0 :x:

Results for commit 1cb3e4b5.