split method in ServerCallContext to service and method
- Dominant language
- C#
- Stars
- 4.5k
- Forks
- 836
- Avg merge
- 6d 3h
- Merged PRs (30d)
- 7
Description
Now if you try access to method name from context you will see only full name and no way to get access separately to Name and ServiceceName fields, only through access private filed _method (part of JsonTranscodingServerCallContext)
https://github.com/dotnet/aspnetcore/blob/98c4546ddccfe2f62c4dc239fabd0c92848b255d/src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.JsonTranscoding/Internal/JsonTranscodingServerCallContext.cs#L23
Is it possible to make _method public?
Contributor guide
Research direction
Read src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.JsonTranscoding/Internal/JsonTranscodingServerCallContext.cs at the referenced _method field, then inspect how ServerCallContext exposes method information. Done means callers can access the service and method names separately through a supported API rather than the private field.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100