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

remove env vars snippets #123

Merged
merged 10 commits into from
Mar 14, 2024
Merged

remove env vars snippets #123

merged 10 commits into from
Mar 14, 2024

Conversation

Justintime50
Copy link
Member

@Justintime50 Justintime50 commented Mar 13, 2024

This PR removes all env vars from the snippets in favor of hard-coded strings for things like the API key. We use the same placeholder for all files here. This will reduce friction of users copying/pasting our snippets without them needing to setup an env var.

This PR is large; however, the same change is made across hundreds of files and was spot checked thouroughly. It may be advantageous to review this PR commit by commit so as to not be overwhelmed by it all at the same time.

Changes:

  • chore: remove env vars from python snippets
  • chore: remove ruby env vars in snippets
  • chore: remove php env vars
  • chore: remove node env vars
  • chore: remove java env vars
  • chore: remove go env vars
  • chore: remove env var curl
  • chore: remove env vars from csharp
  • chore: remove straggling env vars

@Justintime50 Justintime50 requested a review from a team as a code owner March 13, 2024 21:46
@Justintime50 Justintime50 merged commit a073139 into master Mar 14, 2024
9 checks passed
@Justintime50 Justintime50 deleted the remove_env_vars_snippets branch March 14, 2024 16:07
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.

None yet

3 participants