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

[PoC] Preserve :tag's safely in eval-in-project #2720

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

frenchy64
Copy link
Contributor

Related #2695
Related #2696

This PR attempts to enhance eval-in-project with the ability to preserve metadata :tag forms in a backwards-compatible way. Please consider it a proof-of-concept at the moment, I would like some feedback before it's considered ready.

It seems less risky than previous attempts (discussed here).

The basic idea is to only *print-meta* true a form if you can guarantee all metadata is safe to print in a form (by stripping all but :tag metadata), otherwise point the user to reasons why :tag information was thrown away (eg., vars).

There's also a few other ideas for enhancements piled in that I found while I was developing, happy to move them out if needed.

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.

None yet

1 participant