Python and Node.js client and server generated code doesn't make a validation on the type of Struct passed as argument of a Service.
After generating the python and Node.js code from this thrift file, the behaviour occurs when the client calls the server method passing a different Struct type to it (example with python client):
This code doesn't throw any kind of error, because the type of the Struct is not validated and the two Structs from the example have the same argument 'query'.
Neither the server side throws an exception, interpreting the upcoming client message as StructB, even if its type is StructA.
Is it possible that this kind of check is not made in any of the non-typed languages supported by thrift?