Repository navigation
Tags and Extra exposed as IDictionary (instead of IReadOnlyDictionary) - #2796
jamescrosswell wants to merge 7 commits into
Conversation
| SentryOptions options | ||
| ) | ||
| { | ||
| _innerDictionary = innerDictionary ?? throw new ArgumentNullException(nameof(innerDictionary)); |
There was a problem hiding this comment.
This is never getting caught, right? Should we log this instead or fallback another way?
There was a problem hiding this comment.
Lets please not to this. SetTag is the API in all Sentry SDKs, and it's what we exposed for 5 and a half years here. We gain nothing in changing this. In fact I'd argue we lose in exposing the IDictionary API which exposes things in a way we might not have expected/planned
|
We had a bit of a race condition here but I close this issue 2 days ago too: #2273 |
I'm OK with that. It would be good to make these calls before writing the solution/implementation though. I was basically just going through the remaining issues on the 4.0.0 milestone... we could maybe do a bit of "backlog grooming" every now and then to avoid writing code that will never get used (like this). |
Resolves #2273