Like the title states, I'm wondering if any discussion around swift's reflection capabilities has already been had. Right now there really isn't support for top level mutability using the api but is this something that can be subject to change or is there an adamant stance in place already?
I’ve wanted an expanded reflection for Swift for a while now. So much so, that I read the C++ source code of the swift runtime, inspected its ABI and made a custom reflection library that provides reflection information that is impossible to get with the current Mirror API. It is tested against Swift 5.4 and Swift 5.5. I plan to add some more conveniences to it (like resolving a field offset into an inout value taking closure).
You might want to check out these projects: