Why
FeedRepository.updatePost() currently constructs a Dart map using invalid syntax (?location, ?taggedPetIds, etc.), which breaks compilation.
Where
lib/repositories/feed_repository.dart → updatePost(...)
Tasks
Acceptance criteria
References
- Stability requirement in
docs/02_FEATURES_REQUIREMENTS_BEST_PRACTICES.md (error handling + maintainability)
- Repo
lib/ review identified this as a build-breaking defect.
Why
FeedRepository.updatePost()currently constructs a Dart map using invalid syntax (?location,?taggedPetIds, etc.), which breaks compilation.Where
lib/repositories/feed_repository.dart→updatePost(...)Tasks
captionlocationonly when non-null and non-emptytagged_pet_ids/tagged_pet_namesonly when provided and consistentAcceptance criteria
flutter analyzepassesReferences
docs/02_FEATURES_REQUIREMENTS_BEST_PRACTICES.md(error handling + maintainability)lib/review identified this as a build-breaking defect.