Closed kriskowal closed 8 years ago
So, this will prevent "::" style for non-thrift endpoints. Not sure we want to enforce it. I think we need to have a cross language consensus on this style requirement before we move forward.
The consequence is that you have to express --json
explicitly if arg1 contains "::".
Pushed another. This clarifies that the error can be resolved either with --thrift
or --json
.
lgtm
tcurl infers as=thrift from :: in an arg1, but still needs a -t for the Thrift IDL file now. We will eventually hit Meta::thriftIDL if we don’t have -t, but this gives us an understandable error for now.
r @ShanniLi @malandrew