rharter/auto-value-moshi

Generated constructor strips all annotations for parameters

saket opened this issue · 3 comments

saket commented

Will it be possible to read annotations on property methods and include annotations for constructor parameters? auto-value-moshi currently strips all annotations rendering IDE inspections unusable on them. The constructors generated by auto-value on the other hand include them as expected.

Can do

Actually looks like this was already done #111

Feel free to comment if you meant more than just nullability annotations

saket commented

I do think that it'll be nice if all annotations get carried over, but I'll let others voice in if they want to see this feature. I've now moved to moshi codegen so I no longer need this. :)