Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implemented setStoreValue method in controllers and added warnings for direct store access inside controllers #12

Merged
merged 3 commits into from
Nov 25, 2023

Conversation

omarluq
Copy link
Owner

@omarluq omarluq commented Nov 24, 2023

this PR:

  • Introduces setStoreValue method in controllers. This method provides a more intuitive and safer way to update store values, as compared to directly manipulating the store.

  • Introduces warnings for direct store access from controllers. This is an important step towards enforcing best practices and preventing potential state management issues.

@omarluq omarluq changed the base branch from main to strong-typed-store-vals November 24, 2023 04:46
@omarluq omarluq force-pushed the add-setStoreValue-helper branch 3 times, most recently from 238403f to c550a21 Compare November 24, 2023 17:03
@omarluq omarluq requested a review from tcarac November 24, 2023 17:22
@omarluq omarluq force-pushed the add-setStoreValue-helper branch 4 times, most recently from a1b2c00 to e06d679 Compare November 25, 2023 03:14
@omarluq omarluq changed the base branch from strong-typed-store-vals to main November 25, 2023 05:11
@omarluq omarluq merged commit 78e54af into main Nov 25, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant