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_
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.
Comments
Similar requests
Add Fields Exclusion in Rest API
3 votes · 0 comments
Add System Services to Sandbox SDK
1 vote · 0 comments
Accordions and Detail group nested fields
2 votes · 0 comments
Fine-Grained Field-Level Permissions (Read/Update Subset Without Full Read Access)
1 vote · 0 comments
Allow editing on the system fields
50 votes · 0 comments
No comments yet.