Skip to content

Conversation

jgsogo
Copy link
Collaborator

@jgsogo jgsogo commented Dec 16, 2024

closes #31, but using a more idiomatic approach (for the complexity we have right now):

  • AppConfigurationClient trait, and
  • AppConfigurationClientIBMCloud implementation

See #32 for more details and discarded alternatives

Comment on lines -32 to -38
/// App Configuration client for browsing, and evaluating features and
/// properties.
#[derive(Debug)]
pub struct AppConfigurationClient {
pub(crate) latest_config_snapshot: Arc<Mutex<ConfigurationSnapshot>>,
pub(crate) _thread_terminator: std::sync::mpsc::Sender<()>,
}
Copy link
Collaborator Author

@jgsogo jgsogo Dec 16, 2024

Choose a reason for hiding this comment

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

All of this, and the implementation, has been moved to src/client/app_configuration_ibm_cloud.rs. There are no actual changes.

@jgsogo jgsogo marked this pull request as ready for review December 16, 2024 16:15
Signed-off-by: Javier G. Sogo <[email protected]>
@jgsogo jgsogo requested a review from saikumar1607 December 16, 2024 16:31
yoshiemuranaka
yoshiemuranaka previously approved these changes Dec 17, 2024
Signed-off-by: Javier G. Sogo <[email protected]>
@jgsogo jgsogo merged commit 77e172f into IBM:main Dec 17, 2024
2 checks passed
@jgsogo jgsogo deleted the feat/constructor branch December 17, 2024 14:50
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.

Builder pattern
3 participants