Skip to content

Store model reference on assets #452

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

Conversation

ryanmitchell
Copy link
Contributor

@ryanmitchell ryanmitchell commented Jun 11, 2025

This PR refactors assets to store $model to avoid the blink cache/meta issues.

@ryanmitchell ryanmitchell changed the title We don't need this blink as its handled in Asset::fromModel now Remove blink from asset repository findById() Jun 11, 2025
@ryanmitchell ryanmitchell changed the title Remove blink from asset repository findById() Store model reference on assets Jun 11, 2025
@ryanmitchell ryanmitchell marked this pull request as ready for review June 11, 2025 09:00
@ryanmitchell ryanmitchell merged commit 72a5ed8 into statamic:4.x Jun 11, 2025
19 checks passed
@ryanmitchell ryanmitchell deleted the chore/remove-blink-from-asset-repository branch June 11, 2025 13:37
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.

2 participants