Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple the client and server source code. #54

Merged

Conversation

Shylock-Hg
Copy link
Contributor

@Shylock-Hg Shylock-Hg commented Oct 12, 2021

Client won't depends on server code again.

Comment on lines +27 to +38
template <>
struct TccStructTraits<nebula::DataSet> {
static void translateFieldName(MAYBE_UNUSED folly::StringPiece _fname,
MAYBE_UNUSED int16_t& fid,
MAYBE_UNUSED apache::thrift::protocol::TType& _ftype) {
if (_fname == "column_names") {
fid = 1;
_ftype = apache::thrift::protocol::T_LIST;
} else if (_fname == "rows") {
fid = 2;
_ftype = apache::thrift::protocol::T_LIST;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does nebula-cpp need these Ops-in.h files?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For more compatible we copy the server implementation.

Copy link
Contributor

@jievince jievince left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Shylock-Hg Shylock-Hg merged commit 24e8b63 into vesoft-inc:master Oct 27, 2021
@Shylock-Hg Shylock-Hg deleted the feature/decouple-server-source-code branch October 27, 2021 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants