mdeering / attribute_normalizer

Adds the ability to normalize attributes cleanly with code blocks and predefined normalizers
MIT License
475 stars 53 forks source link

Evaluate normalization block in the context of the object #75

Closed atwam closed 4 years ago

atwam commented 8 years ago

Hello,

I came across the very problem specified in the specs included in this PR, that is needing to have access to another field to decide how to normalize my attribute.

I know I could just override a custom writer for that, but I felt this modification, while unobtrusive, makes the block given to normalize_attribute behave as one would expect.

Cheers

bramski commented 6 years ago

I would really like this feature. Why has it been sitting for 3 years @mdeering? Can we get this please?

mdeering commented 4 years ago

related https://github.com/mdeering/attribute_normalizer/issues/24