blaze-persistence
blaze-persistence copied to clipboard
Attribute name clashing with implicit root alias leads to issues
I just noticed that the following entity view
@EntityView(Alias.class)
public interface AliasView {
@IdMapping
Long getId();
String getAlias();
}
will result in a query like select alias.id, alias from Alias alias, although it should be select alias.id, alias.alias from Alias alias. We should fix that somehow. Also see https://github.com/EvgeniyTucha/graphql-spqr-blaze for reference