Use the package
access modifier for generated code
#270
Labels
area/generator
Affects: plugin, CLI, config file.
kind/enhancement
Improvements to existing feature.
size/S
Small task. (A couple of hours of work.)
status/blocked
Waiting for another issue.
Milestone
Swift 5.9 adds the new
package
access modifier (see the evolution proposal).This is a very natural fit for the generated code as:
However, it's likely that some users will still want to vend generated code.
I think the generator should provide a configuration option for visibility so that the user can decide. The default should likely be set to the new
package
access level.The text was updated successfully, but these errors were encountered: