-
-
Notifications
You must be signed in to change notification settings - Fork 277
feat: add Scope class #109
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
Conversation
|
|
||
| dev_dependencies: | ||
| mockito: ^4.1.2 | ||
| mockito: ^4.1.1 |
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.
because of null-safety, this is not working right thru the IDE, downgrading version made it to work
rxlabz
left a comment
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.
LGMT
| SeverityLevel _level; | ||
|
|
||
| SeverityLevel get level => _level; | ||
|
|
||
| set level(SeverityLevel level) { | ||
| _level = level; | ||
| } |
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.
@bruno-garcia maybe we should add getters and setters only for List/Maps so they cannot mutate the whole thing?
https://dart.dev/guides/language/effective-dart/usage#dont-wrap-a-field-in-a-getter-and-setter-unnecessarily
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.
Makes sense to me!
|
merged into #108 |
📢 Type of change
📜 Description
add Scope class
💡 Motivation and Context
we'd like to have Scopes
💚 How did you test it?
📝 Checklist
🔮 Next steps
eventProcessors, Contexts, BeforeBreadcrumbCallback, Breadcrumb hint, clone