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
{{ message }}
This repository was archived by the owner on Jul 27, 2022. It is now read-only.
Say I have a file my_lib.dart that specifies two other files using the part directive, part_a.dart and part_b.dart. I can successfully generate part_a_serialization_rules.dart and part_b_serialization_rules.dart using the transformer. However when I try to import these generated files they throw an exception. If I import part_a_serialization_rules.dart it will in turn import part_a.dart which has a "part of my_lib" as a first line which will not work because you cannot import a part by itself.
Say I have a file my_lib.dart that specifies two other files using the part directive, part_a.dart and part_b.dart. I can successfully generate part_a_serialization_rules.dart and part_b_serialization_rules.dart using the transformer. However when I try to import these generated files they throw an exception. If I import part_a_serialization_rules.dart it will in turn import part_a.dart which has a "part of my_lib" as a first line which will not work because you cannot import a part by itself.