Skip to content

feat: if "this" is in pongo env, then treat all its fields as part of env, implicitly. #26

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nishantsharma
Copy link
Collaborator

If there is an object named this in the environment, then treat all its fields, implicitly as part of the pongo2 env.

Description

If there is an object named this in the environment, then treat all its fields, implicitly as part of the pongo2 env.

Linear Ticket

< Replace_with_Linear_Link >

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

…attributes as extension of their environment. Also added tests.
@nishantsharma nishantsharma changed the title feat: if there is an object named this in the environment, then treat all its fields, implicitly as part of the pongo2 env feat: if "this" is in pongo env, then treat all its fields as part of env, implicitly. Mar 15, 2025
@nishantsharma nishantsharma force-pushed the feat.include_this_in_env branch from 1faf8f3 to 9666bd6 Compare March 16, 2025 23:15
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.

2 participants