blaze-persistence icon indicating copy to clipboard operation
blaze-persistence copied to clipboard

Attribute name clashing with implicit root alias leads to issues

Open beikov opened this issue 3 years ago • 0 comments

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

beikov avatar May 13 '22 11:05 beikov