flow icon indicating copy to clipboard operation
flow copied to clipboard

Alternative to weak mode?

Open mlp1802 opened this issue 1 year ago • 1 comments

Weak mode allowed you gradually convert a file. Now you can gradually convert the project, one file at a time, but you can't work on a file here and a file there, not without fixing them completely. If there is no alternative I believe it defeats the entire purpose of flow..and people would just use TS instead, if the hassle is almost he same.

mlp1802 avatar Sep 30 '24 00:09 mlp1802

On a related note, I'd love to be able to ignore a type of warning/error for the whole of a file in a single directive. At the moment this doesn't seem possible at all. Use case: I have a file that generates dummy/demo data objects. For flexibility and extensibility, the ID field is generated in the main processing. It's tedious to have to declare $FlowIgnore[missing-prop] on every object. But I want to know about those errors in every other file in the project, so I can't turn it off at the project level.

jgclark avatar Oct 28 '24 21:10 jgclark