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

Fix configuration via code #78

Merged
merged 4 commits into from
May 25, 2023
Merged

Fix configuration via code #78

merged 4 commits into from
May 25, 2023

Conversation

gabrielfeo
Copy link
Owner

Related to #73. The DefaultInstance would be initialized with the default Config eagerly when building a new instance with configuration via code. If there were no URL environment variable set, the DefaultInstance init would throw due to a missing URL in its config.

Fix by ensuring that the default Config is initialized lazily.

@github-actions
Copy link
Contributor

Generated API diff

@gabrielfeo gabrielfeo merged commit 891e755 into main May 25, 2023
@gabrielfeo gabrielfeo deleted the fix-code-config branch May 25, 2023 20:10
@gabrielfeo gabrielfeo restored the fix-code-config branch November 30, 2024 02:55
@gabrielfeo gabrielfeo deleted the fix-code-config branch January 6, 2025 09:31
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.

1 participant