HasAttributes trait has a method to fetch only attributes you want but doesn't have a method to fetch all attributes except given on args #46491
Replies: 1 comment
-
This will greatly affect performance. It's easy to chain |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Has anyone ever wanted to get every attribute from a model except the ones you give on args? Of course we can achieve that in many different ways but is it viable to have an except method inside HasAttributes trait?
Somehow like
or because mutators and relations
Maybe that's too much but here's an idea
Beta Was this translation helpful? Give feedback.
All reactions