json_serializable.dart icon indicating copy to clipboard operation
json_serializable.dart copied to clipboard

support 'as' prefixes for libs

Open subzero911 opened this issue 2 years ago • 3 comments

I import a helper library with "as" prefix image And use it in annotations: image

Generated code contains an error:

image

subzero911 avatar Oct 10 '23 13:10 subzero911

Yup! An old issue. It's gnarly because it touches a LOT of code!

kevmoo avatar Oct 10 '23 13:10 kevmoo

It seems to be a common issue for any code generator

woprandi avatar Jun 07 '24 08:06 woprandi

Yep! Tracking prefixing is tricky!

kevmoo avatar Jun 10 '24 21:06 kevmoo