Skip to content

Allow partial expansion of templates #30

@plexus

Description

@plexus

This would make it possible to do this

tpl = Mustermann.new("/comments/{id}{?page}", type: template)
tpl.expand_partial(id: 7) # => "/comments/7{?page}"

Not sure how hard it would be. Eventually I'd like to switch Yaks over from uri-template to Mustermann, but I'll need this feature.

For reference

https://twitter.com/plexus/status/482057311775891456

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions