Skip to content

fix(pinia-orm): Hooks should update cache & hydration#1113

Merged
CodeDredd merged 1 commit intomasterfrom
rehydrate-onhookschanges
Mar 24, 2023
Merged

fix(pinia-orm): Hooks should update cache & hydration#1113
CodeDredd merged 1 commit intomasterfrom
rehydrate-onhookschanges

Conversation

@CodeDredd
Copy link
Copy Markdown
Owner

@CodeDredd CodeDredd commented Mar 24, 2023

🔗 Linked issue

related to #1106 (comment)

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

  • Shared hydration cache was not working correctly
  • Hooks are not triggering casts
  • new() is not cached in the hydration cache
  • save() results weren't cached in the hydration cache

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

- Add working shared hydration cache
- Hooks which are updating data are rehydrated to use casts
@CodeDredd CodeDredd added the bug Something isn't working label Mar 24, 2023
@CodeDredd
Copy link
Copy Markdown
Owner Author

v1.6.2

🩹 Fixes

💅 Refactors

❤️ Contributors

  • Gregor Becker

@CodeDredd CodeDredd merged commit a9fd092 into master Mar 24, 2023
@CodeDredd CodeDredd deleted the rehydrate-onhookschanges branch March 24, 2023 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant