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

docs(parameters): clarify caching behavior of getAppConfig #3808

Merged
merged 2 commits into from
Apr 7, 2025

Conversation

dreamorosi
Copy link
Contributor

@dreamorosi dreamorosi commented Apr 5, 2025

Summary

Changes

Please provide a summary of what's being changed

This PR adds a callout to the getAppConfig() docs section to make it explicit that the underlying AppConfig provider is cached.

image

This means customers can only retrieve configurations within the same application/environment combination.

This is generally ok, since configurations should be mapped to a specific application/environment, however based on the linked issue it appears that some customers might be organizing configs differently.

--

The PR also makes two minor, unrelated, fixes to other broken references that I noticed in the docs build logs while testing this.

Please add the issue number below, if no issue is present the PR might get blocked and not be reviewed

Issue number: closes #3801


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@boring-cyborg boring-cyborg bot added documentation Improvements or additions to documentation idempotency This item relates to the Idempotency Utility labels Apr 5, 2025
@pull-request-size pull-request-size bot added the size/XS PR between 0-9 LOC label Apr 5, 2025
@dreamorosi dreamorosi self-assigned this Apr 5, 2025
Copy link

sonarqubecloud bot commented Apr 5, 2025

@dreamorosi dreamorosi requested review from am29d and leandrodamascena and removed request for am29d April 5, 2025 10:51
Copy link
Contributor

@leandrodamascena leandrodamascena left a comment

Choose a reason for hiding this comment

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

I probably need to add something like this in Python too!

Approved!

@dreamorosi dreamorosi merged commit 236ab7f into main Apr 7, 2025
50 checks passed
@dreamorosi dreamorosi deleted the docs/appconfig_caching branch April 7, 2025 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation idempotency This item relates to the Idempotency Utility size/XS PR between 0-9 LOC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs: Document that getAppConfig can only be reused for the same AppConfig application & environment
2 participants