2 generated files with same message name makes deserialize response error
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 802
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 5
Description
So i have different proto files, they have each a request that have same message response name but the value and structure are actually different. This cause problem whenever i declare both then one of them is rendered as that message even though i am calling the other function.
e.g.
ClientA has getStatus with response StatusResponse
ClientB has getStatus with response StatusResponse
but the StatusResponse definition in ClientA and ClientB is different but whenver i call each getStatus both are using the StatusResponse when doing assertion.
Contributor guide
Research direction
The issue names no source files or tests. Start by reproducing the problem with two generated clients that each define a different StatusResponse and call both getStatus methods. Done means each response is deserialized and asserted against the StatusResponse definition belonging to its own client.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100