Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
New file: * `CountryHelper.dart`: country enums and their ISO-2-codes Impacted files: * `AbstractQueryConfiguration.dart`: deprecated `String? cc` in favor of `OpenFoodFactsCountry? country` * `api_getTaxonomy_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `api_getTaxonomyAdditives_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `api_getTaxonomyAllergens_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `api_getTaxonomyCategories_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `api_getTaxonomyCountries_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `api_getTaxonomyIngredients_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `api_getTaxonomyLabels_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `api_getTaxonomyLanguages_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `OpenFoodAPIConfiguration.dart`: deprecated `String? globalCC` in favor of `OpenFoodFactsCountry? globalCountry` * `openfoodfacts.dart`: minor refactoring * `ProductListQueryConfiguration.dart`: added parameter `OpenFoodFactsCountry? country` * `ProductQueryConfigurations.dart`: added parameter `OpenFoodFactsCountry? country` * `ProductSearchQueryConfiguration.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyAdditive.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyAllergen.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyCategory.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyCountry.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyIngredient.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyLabel.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyLanguage.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyQueryConfiguration.dart`: deprecated `String? cc` in favor of `OpenFoodFactsCountry? country` * feat: #233 - explicitly deprecated parameters `lc` and `cc` Impacted files: * `api_getProduct_test.dart`: not using deprecated parameter `lc` anymore * `ProductListQueryConfiguration.dart`: deprecated parameters `lc` and `cc` * `ProductQueryConfigurations.dart`: deprecated parameters `lc` and `cc` * `ProductSearchQueryConfiguration.dart`: deprecated parameters `lc` and `cc` * `TaxonomyAdditive.dart`: deprecated parameter cc` * `TaxonomyAllergen.dart`: deprecated parameter cc` * `TaxonomyCategory.dart`: deprecated parameter cc` * `TaxonomyCountry.dart`: deprecated parameter cc` * `TaxonomyIngredient.dart`: deprecated parameter cc` * `TaxonomyLabel.dart`: deprecated parameter cc` * `TaxonomyLanguage.dart`: deprecated parameter cc`
- Loading branch information
1 parent
b26733e
commit 3dda3f4
Showing
24 changed files
with
1,137 additions
and
32 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
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
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
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
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
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
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
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
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.