Closed jesseleite closed 8 months ago
Thoughts on this @ryanmitchell? Do you see any downsides to this approach?
Also curious if you have need to override the blueprint()
method? If so, I could make this method non-static / an overridable instance method 👍
Definitely simpler, i should have read the code more fully and done that :)
We don't need to override the blueprint method but it may be a good idea to change it for others.
Re: Blueprint method... Agreed and done 🤘
With this PR, you can now override where site defaults are stored by providing a custom
SiteDefaults
implementation:This is for @ryanmitchell to store site defaults in a database by overloading the save and getDefaults methods ❤️
Closes #298 (This PR is just a slightly simpler alternative)