Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.13.0
-
None
Description
Example:
struct GetStringResult{ 1: string thisIsAString } service MyService{ GetStringResult GetString(1:GetStringParameters getStringParams) }
This produces two different classes with same Name; one in GetStringResult.cs is the "correct" class and one in the service class.
When implementing an IAsync handler class something like this is generated:
public Task<MyService.GetStringResult> GetStringAsync(GetStringParameters getStringParams, CancellationToken cancellationToken = default(CancellationToken)) { }
So in this case this is the wrong GetStringResult class.
A workaround is to move the result struct into a different thrift file with different namespace
Attachments
Attachments
Issue Links
- links to