Skip to content

Commit

Permalink
Specify Instantiable’s code-gen name
Browse files Browse the repository at this point in the history
  • Loading branch information
dfed committed Jan 1, 2025
1 parent 1ca775d commit 380b78a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SafeDI/Decorators/Instantiable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
/// - isRoot: Whether the decorated type represents a root of a dependency tree.
/// - additionalTypes: The types (in addition to the type decorated with this macro) of properties that can be decorated with `@Instantiated` and yield a result of this type. The types provided *must* be either superclasses of this type or protocols to which this type conforms.
/// - conformsElsewhere: Whether the decorated type already conforms to the `Instantiable` protocol elsewhere. If set to `true`, the macro does not enforce that this declaration conforms to `Instantiable`.
@attached(member, names: arbitrary)
@attached(member, names: named(ForwardedProperties))
public macro Instantiable(
isRoot: Bool = false,
fulfillingAdditionalTypes additionalTypes: [Any.Type] = [],
Expand Down

0 comments on commit 380b78a

Please sign in to comment.