Когда я компилирую этот example.thrift
файл с командой thrift-0.11.0.exe --gen charp .\example.thrift
, я получил эту ошибку: Type "Interface1" not defined
service Interface1
{
void add(1:list<string> a)
}
service Interface2
{
bool isThere(1:Interface1 item)
}
Как использовать Interface1
как тип метода в Interface2
?