Skip to content

Rendering a template requires it to live for as long as the registry #529

@lovasoa

Description

@lovasoa

Currently the types in this crate allow Template objects to live outside of the registry, but the lifetime annotations of the render method make it very hard to actually implement a system like that.

Is there a reason why a template that lives shorter than the registry where partials are stored couldn't be rendered?

I would need that for sqlpage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions