Consider moving model creation for Json controllers into builder/factory class resolved from DI
Open
@xuzhg is already working on this.
Since Aug 31, 2021.
feature
- Dominant language
- C#
- Stars
- 505
- Forks
- 186
- PR merge metrics
- No merged PRs in 30d
Description
Currently (v8.0.1) there is no way to control automatic model creation for Json controllers inside ODataQueryParameterBindingAttribute and EnableQueryAttribute.
This makes few things much harder to configure, like run EnableLowerCamelCase() on builder before builder.GetEdmModel().
Since both attributes have access to (global) DI container, please consider moving EDM model (or builder) creation to separate builder/factory class resolved via DI.
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.
Assessment
This issue has not been assessed yet.