cubos / sdkgen

[ DEPRECATED, SEE https://github.com/sdkgen/sdkgen ] Tool that aims on solving client-server communication and data layout sharing between server, web, android and ios using a description language also called sdkgen.
MIT License
45 stars 9 forks source link

fix: added a public initializer for NoReply struct #65

Closed fabcarvalhal closed 4 years ago

fabcarvalhal commented 4 years ago

Added a public initializer for struct NoReply. This is required for initialization of this struct on modularized apps because structs on different modules needs an init method with public visibility.

Use case: When mocking Api calls for unit test purposes, sometimes we need to pass a NoReply instance to our mock repositories.