You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks to me like even if I create a new client with &core.VersionOption{Version: "SOME_VER"}, at request time it will be overridden to either the version specified in code (currently 2025-01-23) or a version in a hard-coded VERSION env var.
Is this expected? I could see the rationale for locking down the version number since the request/response structs are likely specific to the 'current' api version, but why then provide the option to change it, and then not abide by it?
Cheers!
The text was updated successfully, but these errors were encountered:
square-go-sdk/core/request_option.go
Line 56 in e50043d
It looks to me like even if I create a new client with
&core.VersionOption{Version: "SOME_VER"}
, at request time it will be overridden to either the version specified in code (currently 2025-01-23) or a version in a hard-codedVERSION
env var.Is this expected? I could see the rationale for locking down the version number since the request/response structs are likely specific to the 'current' api version, but why then provide the option to change it, and then not abide by it?
Cheers!
The text was updated successfully, but these errors were encountered: