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

feat: Enable use of project API key for default deployments #97

Closed
wants to merge 2 commits into from

Conversation

tyiuhc
Copy link
Collaborator

@tyiuhc tyiuhc commented Feb 1, 2024

Summary

Enable use of project API key for default deployments

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?: No

@tyiuhc tyiuhc requested a review from bgiori February 1, 2024 21:24
Copy link
Collaborator

@bgiori bgiori left a comment

Choose a reason for hiding this comment

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

Looks good, hold off on merging though.

@@ -180,4 +186,5 @@ export const Defaults: ExperimentConfig = {
analyticsProvider: null,
exposureTrackingProvider: null,
httpClient: FetchHttpClient,
deploymentKey: null,
Copy link
Collaborator

Choose a reason for hiding this comment

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

use undefined from here on out.

Copy link
Collaborator

Choose a reason for hiding this comment

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

null is a bad practice in javascript IMO. previous null values can stick around but moving forward always prefer undefined.

@tyiuhc tyiuhc closed this May 7, 2024
@tyiuhc tyiuhc deleted the default-deployment branch June 13, 2024 17:57
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.

2 participants