Skip to content

Commit

Permalink
Update architecture_recommendations.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantwilliam authored Feb 17, 2025
1 parent 98a0677 commit 0f635b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_data/architecture_recommendations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@

- recommendation: Use immutable data models.
description: |
Immutable data ensures that changes to your data can only happen where they are intended, typically in your data or domain layer.
This helps prevent accidental mutations in the UI or other parts of your code.
Immutable data ensures that any needed changes to your app’s data can only occur in controlled places (usually in the data or domain layer),
rather than being altered indirectly in the UI or other layers by mistake.
confidence: strong

- recommendation: Use freezed or built_value to generate immutable data models.
Expand Down

0 comments on commit 0f635b6

Please sign in to comment.