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

made adding public of upsert function in identified object store #283

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dhruv-singhal-github
Copy link

Description

Need to override the upsert function in IdentifiedObjectStore, so needs modified access specifier

Testing

Please describe the tests that you ran to verify your changes. Please summarize what did you test and what needs to be tested e.g. deployed and tested helm chart locally.

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

Documentation

Make sure that you have documented corresponding changes in this repository or hypertrace docs repo if required.

@dhruv-singhal-github dhruv-singhal-github requested a review from a team as a code owner March 19, 2025 14:10
Copy link

Test Results

134 tests  ±0   134 ✅ ±0   58s ⏱️ +4s
 31 suites ±0     0 💤 ±0 
 31 files   ±0     0 ❌ ±0 

Results for commit d8414cf. ± Comparison against base commit e8186d0.

@@ -154,7 +154,7 @@ public Optional<T> getData(RequestContext context, String id) {
return getObject(context, id).map(ConfigObject::getData);
}

private ContextualConfigObject<T> upsertObject(
protected ContextualConfigObject<T> upsertObject(
Copy link
Contributor

Choose a reason for hiding this comment

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

This was intentionally private since upsert (above the DB level) is a practice we typically want to avoid. Can you ping me the details of your use case?

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