btc-ag / service-idl

Xtext-based Service IDL (Interface Definition Language) and Code Generators for Protobuf, C++, Java and .NET
Eclipse Public License 2.0
8 stars 8 forks source link

Suppress generation of unnecessary ServiceFaultHandling.cs files #110

Open sigiesec opened 6 years ago

sigiesec commented 6 years ago

From #101:

Unfortunately, in all languages at the moment the codec is generated in a way that it handles all involved types (e.g. user-defined IDL structs) as well as all "generic" cases (even if not used). So the Protobuf project would not built, if the file is simply removed, since the static function "resolveError" provided by this class is referenced from there in the generic encode/decode functions.