smotastic / smartstruct

Dart Code Generator for generating mapper classes
35 stars 20 forks source link

feat: static_proxy. #59

Closed skykaka closed 2 years ago

skykaka commented 2 years ago

Generate static proxy for mapper class for the user can use the mapper without the mapper object.

Which is discussed at https://github.com/smotastic/smartstruct/pull/57#discussion_r901207690.

smotastic commented 2 years ago

Hi @skykaka Thank you for the contribution, As discussed I like the idea, so I'll make sure to check it out on the weekend

skykaka commented 2 years ago

Hi @smotastic The code is not reviewed. Have you been busy recently, or is there some problem?

skykaka commented 2 years ago

Hi @smotastic Very import suggestion. The name "static" is so arbitrary. I haven't thought enough about this. The name  'generateStaticProxy' is good enough. It's very clear. I think we'd better use this name. I will finish the modification of the code in the next few days.