-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
ref: Split protocol types from client file #96
Conversation
4bd8a18
to
fac836b
Compare
It's a good direction, I'd propose we call it |
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. @marandaneto ?
I will fix the analysis score. |
@bruno-garcia @marandaneto we are loosing 5 points because the changelog file is not in the package directory, can I move the current changelog.md in |
That lint makes sense since all files included in the directory get pushed to pub.dev as part of the package. Except those on One alternative is a symlink from both sentry and sentry-flutter to the root. Or perhaps best is to keep two changelogs, one on each package. |
By "single changelog approach" you mean a changelog for each package ? If so I'm agree. |
@rxlabz is there a way to overwrite the |
@@ -2,6 +2,5 @@ | |||
// Use of this source code is governed by a BSD-style license that can be | |||
// found in the LICENSE file. | |||
|
|||
export 'src/base.dart'; | |||
export 'src/browser.dart'; | |||
export 'src/io_client.dart'; |
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.
@rxlabz do those file naming changes cause any breaking changes on the client's app? do they need to fix imports or something else?
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 has no impact unless you use a package internal path which is bad :)
@rxlabz I'd suggest if not yet, that you run the sample again and check that everything is working properly as your description only mention "tests are passing". |
@marandaneto the 2 examples works well on my side, did you noticed any error ? |
no, not really, but you didn't check a few things on the PR template so I was afraid that you didn't run it. |
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.
ps: agreed to lower down the pub points to 85 and throw a task to be done at a later point, we'd need to move changelog around or find other solutions.
- disable the 2 useless `invalid_use_of_visible_for_testing_member` causing -10pts - add 2 `dart:sync` imports sdk <=2.1.0
@marandaneto @bruno-garcia I pushed a new commit to level up the score to 95/100 |
The analyzer score on my machine is 95/100 but only 90 on GitHub 🤔 |
because this one on GH is for the flutter folder, you are probably changing the dart folder, I guess? so happy to merge. |
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! We merge this then and figure out the 5 pub points later then as @marandaneto suggested. We'll be making many PRs before we publish anything anyway
fix #84
📢 Type of change
📜 Description
Split the base file in separated files/classes in a
/model/protocol
subfolder💡 Motivation and Context
This new structure gives a better perspective of the plugin organisation
💚 How did you test it?
It passes the existing tests
📝 Checklist
🔮 Next steps