Global and Client API#50
Conversation
Summary of ChangesHello @NeaguGeorgiana23, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request lays the groundwork for the OpenFeature C++ SDK by introducing the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces the ClientAPI and OpenFeatureAPI implementations, which is a significant step forward. However, the current changes include several critical issues that need to be addressed before this can be merged. These issues include a circular dependency in the build configuration, incorrect handling of the singleton pattern which will lead to compilation errors and potential memory corruption, and a race condition on the evaluation context. I've also pointed out a few other issues related to correctness and maintainability, such as an incorrect include guard, a missing override specifier, flawed logic in context merging, and an outdated test. My review provides detailed feedback and suggestions for each of these points.
Signed-off-by: NeaguGeorgiana23 <neagugeorgiana@google.com>
e4cc737 to
fd9d8a0
Compare
Signed-off-by: NeaguGeorgiana23 <neagugeorgiana@google.com>
|
Please rename this PR so the title matches the content. |
|
This PR was splitted in smaller ones. See: Global Context Manager, Client API and Global API |
This PR
Adds the logic for GlobalAPI and ClientAPI.
Related Issues
Fixes #29 and #34