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 callback to all methods changing node data #218

Open
lukaszachy opened this issue Jan 8, 2024 · 2 comments
Open

Add callback to all methods changing node data #218

lukaszachy opened this issue Jan 8, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@lukaszachy
Copy link
Collaborator

Similar to #197 but for other fmf features as inheritance and merging.

Goal is to make caller aware of such changes and let it report the the user to find out e.g. invalid merges

@lukaszachy lukaszachy added the enhancement New feature or request label Jan 8, 2024
@lukaszachy
Copy link
Collaborator Author

lukaszachy commented Jan 8, 2024

I'd say it callback should receive: node name, old value, new value, link to the line in source file (if exists)

edit: how about operation (set, + +< -) and key? Also /: inherit:false should be reported somehow.

@fernflower
Copy link

Thank you, having lost some hours to debugging we'd really appreciate this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants