hmlongco / Factory

A new approach to Container-Based Dependency Injection for Swift and SwiftUI.
MIT License
1.83k stars 115 forks source link

Typo on Scopes.swift documentation #206

Closed Kyle-Ye closed 3 months ago

Kyle-Ye commented 4 months ago

https://github.com/hmlongco/Factory/blob/2729a04b17946f6e7f475395db1695caa94eaee2/Sources/Factory/Factory/Scopes.swift#L182

I guess it should be the following or something else.

- If no scope cache is specified then Factory is running in unique *more*.
+ If no scope cache is specified then Factory is running in unique *mode/scope*.
hmlongco commented 3 months ago

Fixed in upcoming update for 2.4.0