-
-
Notifications
You must be signed in to change notification settings - Fork 426
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
Hubs/Scopes Merge 37 - Fix combined Contexts
#3374
Conversation
…pes-merge-2-add-scopes
…ainScopes to rootScopes
|
Performance metrics 🚀
|
return internalStorage.size(); | ||
} | ||
|
||
public int getSize() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need both a size()
and getSize()
? If so, maybe you can add some clarifying comment describing why.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was to allow kotlin to use .size
without brackets. Is there another way to achieve that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some comments to Contexts
to explain why each is needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
#skip-changelog
📜 Description
We extended
ConcurrentHashMap
, exposing lots of stuff as public API and making it hard to combineContexts
. I've now moved this map into a property we forward to. We can add additional API that was there with the map extension if needed.💡 Motivation and Context
💚 How did you test it?
📝 Checklist
sendDefaultPII
is enabled.🔮 Next steps