Open Shimuuar opened 7 years ago
The 'null' possibility is not specified in the service definition files so there's no way for the code generator to produce the correct code for these functions. This doesn't seem to be encoded in the new format used in krpc4 either.
I opened an issue https://github.com/krpc/krpc/issues/395.
For example
getPartFairing
returns null if part is not actually fairing. SogetPairFairing
should returnMaybe Fairing
instead it returnFairing {fairingId = 0}