Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add view context to helpers by default so things like csp nonces can be generated #25

Open
reeganviljoen opened this issue Apr 26, 2023 · 2 comments

Comments

@reeganviljoen
Copy link

It would be a good idea for this library to include its own view context for access to view helpers and things like csp and csrf tokens and nonces. This approach is what is used by viewComponent

@reeganviljoen
Copy link
Author

@mayakarabula I think this would solve all the other issues you are having with links not rendering properly and so forth, I would be willing to add this to the library if I get the go ahead

@rubydog
Copy link
Collaborator

rubydog commented May 4, 2023

@reeganviljoen Will this be added as an additional component to the existing library or do you intend to change the underlying architecture of the library?

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

No branches or pull requests

2 participants