Skip to content

Enhance the way the environment is handled in the htmlkit view renderer accessor - #195

Open
Frizlab wants to merge 1 commit into
vapor-community:mainfrom
togever:fix/frizlab/mutated_environment
Open

Enhance the way the environment is handled in the htmlkit view renderer accessor#195
Frizlab wants to merge 1 commit into
vapor-community:mainfrom
togever:fix/frizlab/mutated_environment

Conversation

@Frizlab

@Frizlab Frizlab commented Sep 6, 2025

Copy link
Copy Markdown
Contributor

Note this is still very much unsafe, but it should be a little bit better.
In particular, each request will have its own environment, derived from the global application’s environment, when rendering a view.

This relates to #186.

@Frizlab
Frizlab requested a review from mattesmohr as a code owner September 6, 2025 22:11
@mattesmohr

Copy link
Copy Markdown
Member

Back from vacation. I will take a look this week.

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

Labels

None yet

2 participants