I just had an idea for an architectural-level macro where my macro would help structure features of an app. I have not had the time to play around with the idea yet (to figure out if a Macro is even a good choice), but some of the "expanded" code of my Macro could potentially involve other macros, such as @Observable. I wonder if macro expansion works even with nested macros?
I haven't found anything on the topic in this forum or in the Macros Vison document (I searched for "nested" and "recursive" macros). Would be really useful if nested/recursive macros were supported.
Nested macro expansion is supported. You will definitely be interested in member-attribute macros which primarily exist to facilitate nested macro expansion like you're describing. This is what @Observable uses to apply accessor macros to all properties within a type.