Skip to content

Conversation

@marandaneto
Copy link
Contributor

@marandaneto marandaneto commented Oct 13, 2020

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

add Scope class

💡 Motivation and Context

we'd like to have Scopes

💚 How did you test it?

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • All tests passing
  • No breaking changes

🔮 Next steps

eventProcessors, Contexts, BeforeBreadcrumbCallback, Breadcrumb hint, clone


dev_dependencies:
mockito: ^4.1.2
mockito: ^4.1.1
Copy link
Contributor Author

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

Copy link
Contributor

@rxlabz rxlabz left a comment

Choose a reason for hiding this comment

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

LGMT

Comment on lines +9 to +15
SeverityLevel _level;

SeverityLevel get level => _level;

set level(SeverityLevel level) {
_level = level;
}
Copy link
Contributor Author

@marandaneto marandaneto Oct 14, 2020

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

Copy link
Member

Choose a reason for hiding this comment

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

Makes sense to me!

@marandaneto
Copy link
Contributor Author

merged into #108

@bruno-garcia bruno-garcia deleted the feat/scope branch October 15, 2020 22:13
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.

4 participants