quick icon indicating copy to clipboard operation
quick copied to clipboard

Cannot use columns in `variables._key` and an alias for that column

Open elpete opened this issue 9 months ago • 1 comments

Given an entity:

component {

    property name="groupId" column="aliased_group_id";
    property name="memberId" column="aliased_member_id";

    variables._key = [ "aliased_group_id", "aliased_member_id" ];

    this.memento = { "defaultIncludes": [ "groupId", "memberId" ] };

}

It should return correct values, but it doesn't seem to until the variables._key is updated to use the aliases.

elpete avatar Sep 05 '23 21:09 elpete