Replies: 2 comments 2 replies
-
I've the same question. I use nuwave/lighthouse and created a "UpdateSetting" mutation class. It accepts the group, name, locked and payload params but from this alone I can't derive the corresponding settings class which have different locations in the application (because of nwidard/laravel-modules. There is the SettingsContainer which contains all the discovered settings class names but I don't want to initialize them all just to update a single setting. |
Beta Was this translation helpful? Give feedback.
-
Since we have a That's how I would solve it! But ideally I would just validate these values in the controller when the request comes in. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How to validate stored data using standard Laravel validation mechanisms
Beta Was this translation helpful? Give feedback.
All reactions