forked from openfoodfacts/openfoodfacts-dart
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 810 - 6 new localized product fields (openfoodfacts#811)
New file: * `api_get_localized_product_test.dart`: unit tests about getting localized product fields Impacted files: * `api_get_product_test.dart`: just moved 2 tests to new file `api_get_localized_product_test.dart` * `product.dart`: fixed field `miscTags`; added fields `brandsTagsInLanguages`, `ingredientsAnalysisTagsInLanguages`, `miscTagsInLanguages`, `statesTagsInLanguages`, `tracesTagsInLanguages`, `storesTagsInLanguages`; refactored `Product.fromJson` * `product.g.dart`: generated * `product_fields.dart`: fixed field `MISC_TAGS`; added fields `BRANDS_TAGS_IN_LANGUAGES`, `MISC_TAGS_IN_LANGUAGES`, `STATES_TAGS_IN_LANGUAGES`, `TRACES_TAGS_IN_LANGUAGES`, `STORES_TAGS_IN_LANGUAGES`, `INGREDIENTS_ANALYSIS_TAGS_IN_LANGUAGES`
- Loading branch information
1 parent
cc8999a
commit df85a38
Showing
5 changed files
with
724 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.