Open jlai opened 5 years ago
Hi @jlai, Can I get how ttwitter filter is being used in your use case.
Using it as documented in the readme, e.g.
import {ThriftClientTTwitterFilter} from '@creditkarma/thrift-client-ttwitter-filter';
and connection.register(ThriftClientTTwitterFilter(filterOptions))
It's a packaging issue. Fixing it should be as simple as adding dist/ttwitter
to https://github.com/creditkarma/thrift-server/blob/master/packages/thrift-client-ttwitter-filter/package.json
Added a PR with that suggestion here - https://github.com/creditkarma/thrift-server/pull/197
Trying to use the ttwitter filter gives this error:
Error: Cannot find module '../ttwitter/com/creditkarma/finagle/thrift'
Probably because the files list in package.json only has
dist/main
and notdist/ttwitter