FeatureFuel
13

Rest and SDK exclude specific fields

Source: directus/directus#23710 · opened by @NilsBaumgartner1994
Summary

So when i want to fetch all fields except one specific, it would be nice to be able to "filter" them out.

Basic Example



In this example i would fetch all policies but without the users ids

Motivation

Granular fetch specific fields

Detailed Design

Would be nice to exclude these fields either with: or

Requirements List

Must Have:

• Ability to filter/exclude specific fields

Should Have:

• Ability to filter/exclude specific fields in deep queries

Drawbacks

Higher implementation and testing costs?

Alternatives

Otherwise we would have to select the fields that we want. But sometimes the other way round is easier

Adoption Strategy

No breaking changes? Unless fields can have "-" or "!" in the name

Unresolved Questions

_No response_

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests