Exclude property from output, but still filterable
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 505
- Forks
- 186
- PR merge metrics
- No merged PRs in 30d
Description
I have a model with some "normal" fields, but also one field with quite a big amount of text in it. I want to be able to exclude that field from the output (and possibly from the database select as well), but still be able to filter on it via the normal way (for example with a contains). Currently I'm only able to either include it in the output and be able to filter, or not in the output and not filterable (by adding an ".Ignore()" in the modelbuilder).
Is it possible to achieve this?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the model builder's Ignore() behavior and the normal contains filtering path described in the issue. Determine whether a property can be excluded from output, and possibly database selection, while remaining filterable; the issue is done only when that behavior is supported or its intended limitation is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100