Skip to content

Commit

Permalink
Add public back to Container extension
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdifran committed Mar 27, 2019
1 parent 475c08d commit 26596b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/AutoRegistration.swift
Expand Up @@ -14,7 +14,7 @@ let maxDependencies = 20
let maxArguments = 3


extension Container {
public extension Container {

/** Registers a factory that resolves the Service based on dependencies inferred from the Service initializer.
Expand Down
2 changes: 1 addition & 1 deletion bin/generate
Expand Up @@ -227,7 +227,7 @@ var autoregistrationOutput = [
"let maxDependencies = \(dependenciesCount)",
"let maxArguments = \(argumentsCount)",
"\n",
"extension Container {\n",
"public extension Container {\n",
registers.joined(separator: "\n\n"),
"\n\n}",
]
Expand Down

0 comments on commit 26596b7

Please sign in to comment.