Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two fixes in our Go API code #5066

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Two fixes in our Go API code #5066

merged 1 commit into from
Sep 4, 2024

Conversation

jefferai
Copy link
Member

@jefferai jefferai commented Sep 3, 2024

  • Replace interface{} with any
  • For options that are bools, don't always set true; set to the actual value passed in (some options already behaved this way, but they all should)

@jefferai
Copy link
Member Author

jefferai commented Sep 3, 2024

Note: I plan to backport this to incorporate it into some other API work (mainly the bool consistency)

* Replace `interface{}` with `any`
* For options that are bools, don't always set true; set to the actual
  value passed in (some options already behaved this way, but they all
  should)
Copy link
Collaborator

@louisruch louisruch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, love how big these gen file changes always look in change counts

@jefferai jefferai merged commit 35d1df7 into main Sep 4, 2024
62 of 64 checks passed
@jefferai jefferai deleted the jefferai-fix-go-any-bools branch September 4, 2024 15:40
jefferai added a commit that referenced this pull request Sep 4, 2024
* Replace `interface{}` with `any`
* For options that are bools, don't always set true; set to the actual
  value passed in (some options already behaved this way, but they all
  should)
jefferai added a commit that referenced this pull request Sep 4, 2024
* Replace `interface{}` with `any`
* For options that are bools, don't always set true; set to the actual
  value passed in (some options already behaved this way, but they all
  should)
jefferai added a commit that referenced this pull request Sep 11, 2024
* Replace `interface{}` with `any`
* For options that are bools, don't always set true; set to the actual
  value passed in (some options already behaved this way, but they all
  should)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants