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
Compilation of generated files fails if data model object has Byte
#176
Labels
Comments
akhaku
added a commit
to akhaku/hollow
that referenced
this issue
Feb 28, 2018
For cases where our generated type matches a java.lang type (eg Byte), using a star import causes the compiler to get confused between the generated type and the java.lang type. Switching to explicit imports makes it clear to the compiler, so do that. Fixes Netflix#176.
akhaku
added a commit
to akhaku/hollow
that referenced
this issue
Mar 1, 2018
For cases where our generated type matches a java.lang type (eg Byte), using a star import causes the compiler to get confused between the generated type and the java.lang type. Switching to explicit imports makes it clear to the compiler, so do that. Fixes Netflix#176.
akhaku
added a commit
to akhaku/hollow
that referenced
this issue
Mar 1, 2018
For cases where our generated type matches a java.lang type (eg Byte), using a star import causes the compiler to get confused between the generated type and the java.lang type. Switching to explicit imports makes it clear to the compiler, so do that. Fixes Netflix#176.
akhaku
added a commit
to akhaku/hollow
that referenced
this issue
Mar 2, 2018
For cases where our generated type matches a java.lang type (eg Byte), using a star import causes the compiler to get confused between the generated type and the java.lang type. Switching to explicit imports makes it clear to the compiler, so do that. Fixes Netflix#176.
Sunjeet
pushed a commit
that referenced
this issue
Apr 10, 2019
* commit '4466bb23e8b535e0cada5ce38a1e5e11cfed7e77': Adding a property to control if history for previous cycles should be calculated for cinder data module
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you try and generate an API for object that contains a Byte, the generated files to do not compile. Any generated files that to try reference the type (eg HashIndex.java) conflict between my.generated.package.Byte and java.lang.Byte, since we import my.generated.*.
A couple ways to fix this:
The text was updated successfully, but these errors were encountered: