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
Building with at_onboarding_flutter results in cryptic error #300
Comments
Changes to at_client need to be propagated to our other packages. |
Added a few other players to the ticket as this feels like something we need to catch in builds/tests.. |
Not sure what needs doing here. Which changes need to be propagated?
|
Ob I see now
breaking change in at_client from a rename of a sync strategy
|
@murali-shris can you take a look please? |
TIL : read issue on github rather than in my email thanks Xavier for linking the pull request that made the changes we’ve got two choices here:
I prefer option 2, since this particular change has been in trunk for a while but what do others think? @cconstab from a testing perspective what we’re missing is a way to detect breaking changes. (1) One way would be to try to build all dependent packages and apps. This seems… difficult and hokey. (2) A better alternative would be to have a set of client code in another package in the at_client_sdk repo which exists solely to exercise all of the public API, and have the GitHub workflow check that that package builds |
@gkc Yes I like option 2 and is essentially how we came across the issue.. I suspect most developers rely on |
First step - change at_onboarding_flutter to use the new |
@gkc I will make the fix and publish the minor version. Thank you |
https://github.com/atsign-foundation/at_widgets/search?q=SyncStrategy&type=code |
backupkey flutter - fix for issue #300
@murali-shris looking across all repos in atsign-foundation there are a few more references: https://github.com/search?q=org%3Aatsign-foundation+syncstrategy&type=code |
@murali-shris I was going to make the changes in the at_login repo but I am having IDE problems ... please can you fix the issues in at_login repo? There's also a SyncStrategy reference in the at_libraries repo |
sure Gary |
published at_onboarding_flutter 3.1.2 |
code in other widgets will be fixed as a part of |
@murali-shris looks like this ticket can now be closed.. Do you agree ? |
yes @cconstab |
Describe the bug
Error given when building from clean installation
To Reproduce
Steps to reproduce the behavior:
flutter run
at_onboarding_flutter-3.1.1\lib\services\onboarding_service.dart
if (_atClientPreference.syncStrategy == SyncStrategy.ONDEMAND) {
should read I think
if (_atClientPreference.syncStrategy == SyncStrategy.onDemand) {
Expected behavior
Should build cleanly
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: