We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given the following entity view
@EntityView(MyEntity.class) interface MyView { @MappingSingular Map<String, String> getSingularMap(); }
Generating a metamodel for this view using blaze-persistence-entity-view-processor results in invalid Java code that fails compilation.
blaze-persistence-entity-view-processor
More precisely, the following is generated:
public AttributePath<T, Map<String java.lang.String>, Map<String java.lang.String>> singularMap() { MethodSingularAttribute<ContainerTemplateDto, Map<String java.lang.String>> attribute = LocationOverviewContainerDtoImplContainerTemplateDto_.externalReferences; return attribute == null ? getWrapped().<Map<String java.lang.String>>get("singularMap") : getWrapped().get(attribute); }
Valid metamodel code is generated.
The generated metamodel code does not compile.
Version: 1.6.11
The text was updated successfully, but these errors were encountered:
[Blazebit#1881] Fix type parameter handling for singular mappings in …
94b8a98
…entity-view-processor
d5072ad
fbc603b
[#1881] Fix type parameter handling for singular mappings in entity-v…
e5f6eb7
…iew-processor
85b25b9
Mobe91
Successfully merging a pull request may close this issue.
Description
Given the following entity view
Generating a metamodel for this view using
blaze-persistence-entity-view-processor
results in invalid Java code that fails compilation.More precisely, the following is generated:
Expected behavior
Valid metamodel code is generated.
Actual behavior
The generated metamodel code does not compile.
Steps to reproduce
Environment
Version: 1.6.11
The text was updated successfully, but these errors were encountered: