Skip to content
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: 662 - new packaging fields "quantityPerUnit" and weightMeasured" #665

Merged
merged 2 commits into from
Dec 31, 2022

Conversation

monsieurtanuki
Copy link
Contributor

Impacted files:

  • api_save_product_v3_test.dart: added test for new packaging fields quantityPerUnit and weightMeasured
  • product_packaging.dart: added fields quantityPerUnit and weightMeasured
  • product_packaging.g.dart: generated

What

  • New packaging fields quantityPerUnit and weightMeasured

Fixes bug(s)

Impacted files:
* `api_save_product_v3_test.dart`: added test for new packaging fields `quantityPerUnit` and `weightMeasured`
* `product_packaging.dart`: added fields `quantityPerUnit` and `weightMeasured`
* `product_packaging.g.dart`: generated
@monsieurtanuki monsieurtanuki merged commit c5335b7 into openfoodfacts:master Dec 31, 2022
@monsieurtanuki
Copy link
Contributor Author

Thank you @teolemon for those "just before 2023" reviews! And today is my birthday ;)
While you're here, please have a look at #666 - no devil inside, just something convenient for Smoothie and api V3.

@teolemon
Copy link
Member

Thanks, and Joyeux Anniversaire @monsieurtanuki 🎁

@monsieurtanuki
Copy link
Contributor Author

Merci Pierre !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Add support for Weight of one empty unit (g)and Quantity of product contained per unit
2 participants