You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library (1.0.5 on net6.0) works perfectly for me, thanks for the great work!
What I stumbled upon using it was, that records are not supported. It may need some fine tuning to properly support them though.
// records don't work at all for now[InterfaceGenerator.GenerateAutoInterface]recordRecord:IRecord{publicvoidMethod(){}}// I expect it to generate an interface like that:internalpartialinterfaceIRecord{stringProperty{get;init;}voidMethod();voidDeconstruct(outstringProperty);}
// classes work fine[InterfaceGenerator.GenerateAutoInterface]classClass:IClass{publicstringProperty{get;set;}publicvoidMethod(){}}// this generates a proper interface:internalpartialinterfaceIClass{stringProperty{get;set;}voidMethod();}
The text was updated successfully, but these errors were encountered:
This library (1.0.5 on net6.0) works perfectly for me, thanks for the great work!
What I stumbled upon using it was, that records are not supported. It may need some fine tuning to properly support them though.
The text was updated successfully, but these errors were encountered: