thunder icon indicating copy to clipboard operation
thunder copied to clipboard

Field description support ?

Open depado opened this issue 7 years ago • 6 comments

Hey there ! First of all thanks for the amazing project ! I was wondering if you were planning on supporting the field description ? Even though I have no idea on how this could be achieved.

Thanks a lot !

depado avatar Oct 15 '18 09:10 depado

sure, that sounds great. cc/ @willhug

stephen avatar Oct 27 '18 01:10 stephen

we could support deprecation flags too. should think about how to support struct fields.

we tried to do a cute codegen thing where it reads the comment out of the AST but it's a little too much.

stephen avatar Oct 27 '18 01:10 stephen

Putting a whole field description in the struct tag doesn't seem user friendly at all either, that's why I quite don't know how this could be achieved unfortunately. But that would be a really cool feature.

depado avatar Oct 28 '18 18:10 depado

Please check my pull-request on this #222

nilathedragon avatar Feb 05 '19 11:02 nilathedragon

@stephen Had time to take a look at it yet?

nilathedragon avatar May 02 '19 07:05 nilathedragon

Hello @stephen and @willhug!

It would be nice to have the support of field description in Thunder. Could you please find some time to review/comment this PR?

victor-perov avatar Jun 28 '19 14:06 victor-perov