Add only_new option to haxe.macro.Context.onGenerate#12286
Add only_new option to haxe.macro.Context.onGenerate#12286Apprentice-Alchemist wants to merge 1 commit intoHaxeFoundation:developmentfrom
only_new option to haxe.macro.Context.onGenerate#12286Conversation
|
I'm fine with this, though I'm slightly worried about the overall approach here because we're already at 4 permutations with persistent and new. I can't immediately tell how else to handle this though. Happy to merge this once Reflaxe/C# is working! |
|
I'd also like to take a proper look at that (monday, if I don't forget about it) |
ab8f082 to
b90794e
Compare
b90794e to
2eec1a9
Compare
💦💦💦 ... it works... just uhh... 💦 need to use a VERY RESTRICTED subset of Haxe code 💦💦💦 an |
|
I don't really like the duplication of callback lists for Can you add a test so that we can try different approaches while still making sure the feature works as expected? |
If
only_newis set to true then only new types (aka not cached) will be passed to the callback.@SomeRanDev wants this for Reflaxe.