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

Fix builder importing #56

Merged
merged 1 commit into from
Jan 8, 2021
Merged

Fix builder importing #56

merged 1 commit into from
Jan 8, 2021

Conversation

alancai98
Copy link
Member

Fixes #48. Refactors the PIG Builder so the builder functions are defined in an interface with a private implementation. This ensures the builder functions can't be imported directly.

Also adds @JvmStatic for Java interop.

This is a potentially breaking change to any existing code that relies on importing these builder functions directly.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@alancai98 alancai98 self-assigned this Nov 17, 2020
Copy link
Member

@dlurton dlurton left a comment

Choose a reason for hiding this comment

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

Thanks and sorry for the delay in reviewing this. LGTM.

@alancai98 alancai98 merged commit 7ac7c5d into master Jan 8, 2021
@alancai98 alancai98 deleted the fix-builder-importing branch January 8, 2021 20:32
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.

Generated builders can be imported
2 participants