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
Previously the generated builder would always have the implicit internal access level. Starting with v2.0.0 by default the generated builder adopts the same access level of the original annotated struct/class/enum.
New Features
To adjust the access level of the builder, set the new desired accessLevel macro parameter @Buildable(accessLevel: AccessLevel? = nil) to one of the following values: private, fileprivate, internal, package or public. The desired access level must not be of higher visibility than the original struct/class/enum.
The macro now generates explicit initializers when the builder's accessLevel is package or public
The swift-syntax dependency can now be resolved with older versions as well. The minimum version is 600.0.0