as-json icon indicating copy to clipboard operation
as-json copied to clipboard

Compile Time check for json decorator

Open anyon17 opened this issue 4 months ago • 5 comments

Right now a class decorated with @json containing fields which might not have types whose declaration have @json decorator panics at the runtime. Is there any way to have this check at compile time so that compiler can exactly point to the field which does not have @json decorator in it's declaration.

anyon17 avatar Oct 14 '24 15:10 anyon17