stackmuncher / stm_app

This software engineer profile builder turns your code into a detailed list of skills for an online directory of software developers.
https://stackmuncher.com
GNU Affero General Public License v3.0
22 stars 1 forks source link

Pre-submission cleanup via field attributes #12

Open rimutaka opened 3 years ago

rimutaka commented 3 years ago

At the moment there is a function that removes or hashes some potentially sensitive info in reports just before submitting them to INBOX. This is a bit risky because changes to the report struct need to be reflected there. There is a chance that some fields will be missed.

A better solution would be to annotate Report and Tech members with a custom attribute like #[private] and then clean them up using a macro.