OData / OData/AspNetCoreOData

getting-related-entities convention conflicted with ODataConventionModelBuilder.EnableLowerCamelCase()

Open
#563 6 comments 1 reaction 1 assignee View on GitHub

@xuzhg is already working on this.

Since Apr 19, 2022.

bug
Dominant language
C#
Stars
505
Forks
186
PR merge metrics
No merged PRs in 30d

Description

Assemblies affected
ASP.NET Core OData 8.0.8

Describe the bug

when ODataConventionModelBuilder.EnableLowerCamelCase() is enabled, the controller method described here will not be hit if the method name is GetSupplier. However it will be hit if the method is Getsupplier (lowercase s).

Expected behavior
GetSupplier should work regardless the status of EnableLowerCamelCase().

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.