Conversation
Greptile SummaryThis PR updates the Go SDK to v5.1.0, adding new endpoints (
Confidence Score: 4/5Safe to merge after fixing the The header-per-request refactor is applied uniformly across all service files — every method that makes an HTTP call now explicitly carries docs/examples/project/update-o-auth-2-server.md — type mismatch on the Scopes argument that must be corrected. Important Files Changed
Reviews (1): Last reviewed commit: "chore: update Go SDK to v5.1.0" | Re-trigger Greptile |
| response, error := service.UpdateOAuth2Server( | ||
| false, | ||
| "https://example.com", | ||
| project.WithUpdateOAuth2ServerScopes([]interface{}{}), |
There was a problem hiding this comment.
The
Scopes option takes []string in the actual method signature (func (srv *Project) WithUpdateOAuth2ServerScopes(v []string)), but the example passes []interface{}{}. Copying this example would result in a compile error.
| project.WithUpdateOAuth2ServerScopes([]interface{}{}), | |
| project.WithUpdateOAuth2ServerScopes([]string{}), |
This PR contains updates to the Go SDK for version v5.1.0.
What's Changed
createSesProviderandupdateSesProvidertomessagingupdateOAuth2Servertoprojectfor OAuth2 server settingsupdatePasswordStrengthPolicyandPolicyPasswordStrengthtoprojectgetAuditsDBhealth check tohealthpassword-strengthtoProjectPolicyIdapps.readandapps.writetoProjectKeyScopes