Skip to content

Handle variables with composite types #2

Description

@steve-chavez

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;

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions