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

Improve property detection in the logger #110

Open
narnaud opened this issue Jul 15, 2024 · 0 comments
Open

Improve property detection in the logger #110

narnaud opened this issue Jul 15, 2024 · 0 comments
Assignees
Labels
👷 refactor Something needs to change

Comments

@narnaud
Copy link
Member

narnaud commented Jul 15, 2024

Right now we need to call addProperties in ScriptRunner to find out if the API is a property or a method... this is error prone (like forgetting to add the addProperty).

It would be better to do that automatically. One idea would be to do that during the LOG macro, as we have access to all information (and even an instance of the class maybe to get the metaObject).

Another option would be to do that during the compilation, but it may be more complex...

@narnaud narnaud added the 👷 refactor Something needs to change label Jul 15, 2024
@narnaud narnaud assigned aambrosano and unassigned mgiroday Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👷 refactor Something needs to change
Projects
None yet
Development

No branches or pull requests

3 participants