Closed sschmid closed 1 year ago
Update: I'm making some progress on this while at the same time tackling one of my favourite issue #307
This requires changes to the current code gen which generates partial classes for entities etc. This will be replaced with C# extension methods. More infos coming soon
Will close in favour of #1005 You can follow the progress there
I started working on new approach to namespace support.
My ideas:
Game, Input, MySharedStuff.Common
This should generate
and all of them are wrapped in
MySharedStuff
namespace.You can still access the contexts like
contexts.game
,contexts.mySharedstuffCommon
You can still use the attributes
You can add namespaces to components
It's work in progress, I'm currently working on the details and see what works well and what doesn't. I try to keep the api the same, but in some cases it might be necessary to be more explicit to avoid name clashes.
I'll keep you updated and add more examples once it takes shapes more.