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

Handle fields of type binary #10

Merged
merged 1 commit into from
Jul 10, 2015
Merged

Handle fields of type binary #10

merged 1 commit into from
Jul 10, 2015

Conversation

ipostelnik
Copy link

This push adds support for fields tagged with "binary" type in thrift IDL. These fields are represented as byte arrays and ByteBuffer in generated code. However, they are tagged as STRING in thrift metadata.

Note: This is a compatibility-breaking change. The non-string values for string fields will no longer be converted to string using str. The client code is responsible for ensuring that string fields are set to string values.

@ipostelnik
Copy link
Author

The tests only failed on Java 6. Is it still supported by clojure?

xsc added a commit that referenced this pull request Jul 10, 2015
Handle fields of type binary
@xsc xsc merged commit 7e15fec into xsc:master Jul 10, 2015
@xsc
Copy link
Owner

xsc commented Jul 10, 2015

@ipostelnik Thanks for this (and sorry for the delay).

Note: This is a compatibility-breaking change.

Next version was gonna be 0.3.0 anyways, so that's okay.

The tests only failed on Java 6. Is it still supported by clojure?

Sure, but - for now - no longer by thrift-clj. I'm fine with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants