atreeon / morphy

Provides a clean class definition with extra functionality including; copy with, json serializable, tostring, equals that supports inheritance and polymorphism
3 stars 3 forks source link

should not refine example folder #12

Open normidar opened 1 month ago

normidar commented 1 month ago

My project is here: https://github.com/normidar-group/image_gen/tree/354f4cb9e90a493e6070fea2cbe409604c6aa2a2

I am useing morphy, but it throw some errors:

[SEVERE] morphy:morphy2 on example/lib/src/code_icon/abc.dart (cached):

line 1, column 45 of asset:image_gen/example/lib/src/code_icon/abc.dart: Could not resolve annotation for `class Abc`.
  ╷
1 │ @ImageGen()
  │ ^^^^^^^^^^^
  ╵
[SEVERE] morphy on example/lib/src/code_icon/abc.dart (cached):

line 1, column 45 of asset:image_gen/example/lib/src/code_icon/abc.dart: Could not resolve annotation for `class Abc`.
  ╷
1 │ @ImageGen()
  │ ^^^^^^^^^^^
  ╵
[SEVERE] Failed after 2.3s

These classes in example folder where that I don't want to generate json in there.

normidar commented 1 month ago

Oh, this package have too much error....

atreeon commented 1 month ago

Oh, this is strange, I'll take a look. Perhaps there has been a regression. Could you paste the class definition?