-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
feat: 893 - 4 new fields for user #903
Conversation
Impacted files: * `login_status.dart`: added 4 fields and deprecated "email" * `open_food_api_client.dart`: upgraded the max length of user name (60) and user id (40) * `user_management_test_prod.dart`: tested the new 4 login status fields * `user_management_test_test_env.dart`: tested the new 4 login status fields and remove a test on "email"
@monsieurtanuki PR to add a cc field: openfoodfacts/openfoodfacts-server#10152 ("world" can also be a value) |
add cc field requested by @monsieurtanuki in openfoodfacts/openfoodfacts-dart#903 note that cc can also be "world" also removed some fields if their value is undef or empty
@stephanegigandet I've just PR'ed the use of json field As mentioned in openfoodfacts/openfoodfacts-server#10152 (comment), so far I couldn't test it successfully in PROD as the field doesn't seem to be available. Besides, I'm not 100% sure it would be very clean to add a fake country called |
add cc field requested by @monsieurtanuki in openfoodfacts/openfoodfacts-dart#903 note that cc can also be "world" also removed some fields if their value is undef or empty
Thank you @stephanegigandet: I've just tested in PROD and the |
ping |
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.
The dart side is looking fine 💯
Thank you @M123-dev for your review! |
What
country
asen:france
, which is not very easy to convert, whereasfr
would be perfectFixes bug(s)
Impacted files
login_status.dart
: added 4 fields and deprecated "email"open_food_api_client.dart
: upgraded the max length of user name (60) and user id (40)user_management_test_prod.dart
: tested the new 4 login status fieldsuser_management_test_test_env.dart
: tested the new 4 login status fields and remove a test on "email"