Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
GHC 7.6.3
GHC 7.8.4
Description
If we have a service definition that looks something like:
struct ServiceRequest { 1: optional bool shouldWork; } service MyService{ void myService(1:ServiceRequest request = {}); }
The code generation relating to the service call includes an invocation like this:
... = default_ServiceRequest{}
Which is invalid as empty record updates are not allowed.
Attachments
Issue Links
- Dependency
-
THRIFT-2315 Defaults applied to service method arguments not working as expected
- Open