You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess syntax would have to be different, since omitting 'badges.year' would remove {badges: {year: ___} in addition to {badges: [{year: ___}, ... ] }. Maybe ['badges].year' to specify that badges is an array of objects you want to omit the field year from?
The text was updated successfully, but these errors were encountered:
This is a use case that's too specific for me to support in my opinion.
If we agree on some syntax for this, it will always be a syntax that's not understandable from just looking at it, so I want to avoid this.
On the other hand, if you simply manually write what you want to achieve with the functions provided on arrays, it's easy to support this and when another developer looks at is there is no chance for any confusion.
Ability to filter out fields in an array of objects.
I guess syntax would have to be different, since omitting
'badges.year'
would remove{badges: {year: ___}
in addition to{badges: [{year: ___}, ... ] }
. Maybe['badges].year'
to specify that badges is an array of objects you want to omit the fieldyear
from?The text was updated successfully, but these errors were encountered: