-
-
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
Product.attributeGroups is now a List<AttributeGroup> #65
Product.attributeGroups is now a List<AttributeGroup> #65
Conversation
@peterwvj With the minimum impact on |
This PR would also solve this new issue detected by @M123-dev (openfoodfacts/smooth-app#55 (comment)):
|
@monsieurtanuki thanks for working on this. I tested this PR with my app and it seems to work. I'm willing to accept the PR but maybe someone with more knowledge on this topic should take a look as well. I still doubt whether making the fields in |
@peterwvj Thank you for your positive review. About making the fields AFAIK we don't have a clear best practice cheat sheet in this project about how to handle those cases. |
@monsieurtanuki I agree with your points. The only advantage you get by not making the fields @PrimaelQuemerais would you mind taking a look at this PR in order to make sure that you agree with the changes? I already reviewed the PR and approved the changes but it would be nice if you could take a look as well. Thanks in advance. |
I merged the PR with the final fields for now. I don't see any case were we would need to write an Attribute or AttributeGroup to the API at the moment. I just had to update some test due to changes in the field values returned by the API. Changes are live in version 0.3.14+1 of the plugin on pub.dev. |
No description provided.