Skip to content

Conversation

@ryanmitchell
Copy link
Contributor

When working on #296 I noticed there was a duplication of code in AssetContainer which we should avoid.

I also took the chance to update the makeModelFromContract methods in assets and containers to not save the model, as it should only make the instance, after which you can decide if you want to save it or not.

@ryanmitchell ryanmitchell merged commit d59be05 into statamic:master Jun 6, 2024
@ryanmitchell ryanmitchell deleted the chore/refactor-asset-containers branch June 6, 2024 09: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.

1 participant