Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Altai-man
Copy link

@Altai-man Altai-man commented Mar 28, 2021

Fixes #82

As for testing: the tests passing is already a sign it is ok, giving I am using Cro::WebApp it seems just fine enough. I am pretty reluctant to make Cro::WebApp a dependency just to make a test for it, maybe a simple stub would be a better idea.

Previously, a very hardcoded config with Template::Mustache in mind
was used. We preserve this as a backward-compatible default, but
introduce a new role `Pod::To::HTML::Renderer` which provides a simplest
working API for a custom page renderer.
This is still not completely flexible with regard to the rendering context passed,
but for now it allows downstream users to provide good enough custom page renderers.
@Altai-man
Copy link
Author

Added a test as well.

@Altai-man Altai-man requested a review from JJ March 28, 2021 12:28
Copy link

@JJ JJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Essentially OK, maybe you'd want to clarify a few things.

@JJ JJ merged commit 459b912 into raku-community-modules:master Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No way to specify custom template engine

2 participants