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

Handle variables with composite types #2

Open
steve-chavez opened this issue Sep 8, 2023 · 1 comment
Open

Handle variables with composite types #2

steve-chavez opened this issue Sep 8, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@steve-chavez
Copy link
Member

Problem

Right now is not possible to get a composite type members.

Solution

Support mustache dotted names https://github.com/mustache/spec/blob/master/specs/interpolation.yml#L162-L167 like so:

create function print_person(p person) returns text as $$
Hello, {{p.name}} {{p.lastname}}
$$ language plmustache;
@steve-chavez steve-chavez added the enhancement New feature or request label Sep 8, 2023
@steve-chavez steve-chavez transferred this issue from another repository Sep 10, 2023
@steve-chavez

This comment was marked as outdated.

@steve-chavez steve-chavez changed the title Handle dotted names with composite types Handle variables with composite types Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant