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

Ordered Serialization macros for thrift #1338

Merged
merged 16 commits into from
Jul 27, 2015

Conversation

MansurAshraf
Copy link

continuation of #1210

* rev: ?
* built at: ?
*/
package com.twitter.scalding.thrift.macros.scalathrift
Copy link
Collaborator

Choose a reason for hiding this comment

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

is there any way we could not check in generated code?

Copy link
Author

Choose a reason for hiding this comment

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

@ianoc Do you still have the original thrift file? We will have to generate these on the fly if we dont want to check them in.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd rather just use the scrooge plugin and generate these, personally (also it is a better test, because scrooge will evolve).

/**
* @author Mansur Ashraf.
*/
trait RequiredBinaryComparators extends RequiredBinaryComparatorsConfig {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you add a comment to make it clear that this is here for people that use scrooge, but otherwise is identical to the one in scalding-core.

@johnynek
Copy link
Collaborator

johnynek commented Jul 8, 2015

Looks good to me other than the minor confusion I hit when I saw the duplicated RequiredBinaryComparators.

@MansurAshraf
Copy link
Author

@johnynek let me know if you are okay to merge

johnynek added a commit that referenced this pull request Jul 27, 2015
Ordered Serialization macros for thrift
@johnynek johnynek merged commit 0eddce0 into twitter:develop Jul 27, 2015
@ianoc ianoc mentioned this pull request Aug 10, 2015
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.

3 participants