You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #63 assumes that if a composition has the [Module] attribute, then the [Provides] attribute is generated for its roots.
But controlling which attributes are added to roots would be ideal, similar to controlling modifiers via RootKinds.
I'm not sure which API is exactly realizable in terms of source generator capabilities.
@cNoNim It is now possible to create partial methods. See this example. They allow you to define attributes for the roots of a composition. I don't see the point of overloading methods to define roots with an additional argument - a list of attributes.
Activity
NikolayPianikov commentedon Aug 1, 2024
@cNoNim It is now possible to create partial methods. See this example. They allow you to define attributes for the roots of a composition. I don't see the point of overloading methods to define roots with an additional argument - a list of attributes.
NikolayPianikov commentedon Aug 1, 2024
I'll move this ticket to discussion for now for further consideration.