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

refactor(codegen): Removed deprecated code and improved speed #2899

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

quenbyako
Copy link
Contributor

Just tiny change for single file:

  • removed strings.Title cause this function is deprecated
  • removed regexp, cause this expression easily converts to strings.Map
  • replaced multiple strings.Replace to simple, fast and single line solution
  • Added docs cuz why not? ¯\_(ツ)_/¯

Why this pr? I just probing how good contribution pipeline is for this repo, wanna make a lot of good improvements 😊

@andrewmbenton
Copy link
Collaborator

Thanks for this. The test failures are expected. We are using an authenticated feature of sqlc cloud in our CI pipeline for some tests, and CI runs based on pull requests from outside contributors don't get access to secrets, so authentication fails.

I'll wait for @kyleconroy to give final sign-off though.

@kyleconroy kyleconroy merged commit dece28f into sqlc-dev:main Oct 23, 2023
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants