Skip to content
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

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

Open
elpete opened this issue Sep 5, 2023 · 1 comment
Open

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

elpete opened this issue Sep 5, 2023 · 1 comment

Comments

@elpete
Copy link
Collaborator

elpete commented Sep 5, 2023

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
Copy link
Collaborator Author

elpete commented Sep 5, 2023

cc @egomezm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant