Merged
Conversation
…yPredicate removed
# Conflicts: # test/core/validators_test.mocks.dart
# Conflicts: # test/nutrition/goldens/nutritional_plan_2_one_meal_with_ingredients.png # test/nutrition/goldens/nutritional_plan_3_both_meals_with_ingredients.png
# Conflicts: # lib/models/exercises/exercise_submission.dart # lib/providers/add_exercise.dart
This makes working with it a bit easier # Conflicts: # lib/models/exercises/exercise_submission.dart # lib/models/exercises/exercise_submission.freezed.dart # lib/models/exercises/exercise_submission.g.dart
Also, make the vegan and vegetarian flags nullable, since not all products have this information at all
We can simply use the regular "exerciseinfo" endpoint, like we do for ingredients. We still call fetchAndSetExercise for them, which is not efficient, but
While these do not land in the local cache, this is still faster and better, and works like the ingredientSearch method.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
This pr collects all changes that need a new backend (2.5):