Automatically save settings for models using HasSettingsTable #125
neverything
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In a project, we are using
HasSettingsTablequite a bit for multiple models. Having to implement a saving routine for the settings can be cumbersome. Wouldn't it be useful to have aTraitto overwrite thesavemethod on the model and save the settings in themodel_settingstable?So in your model instead of using
HasSettingsTableuseHandleSaveForHasTableSettings. Happy for any feedback as I might be doing it wrong or could improve upon this.Beta Was this translation helpful? Give feedback.
All reactions