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

Java tuple fix #21

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Java tuple fix #21

wants to merge 5 commits into from

Conversation

delta2323
Copy link

In former implementation, tuple in idl is realized as generic class Tuple<T, U>. But it cannot be deserialized in msgpack type.
This pull request is patch for this problem.

Instead of creating generic type, concrete class is created for each tuple type appeared in .idl file.
For example, tuple<string, double> is realized as TupleStringDouble class and tuple<tuple<string, double>, double> is TupleTupleStringDoubleDouble.
(This class name is somewhat lengthy and difficult to read, so if more clever naming is available, I'd like to choose it.)

@hvr hvr added the IDL label Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants