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
I'm playing with the swinject and its weak object scope. It works like a charm, when I'm resolving an object without any arguments. When I want to register and resolve an object with one/more arguments, it acts as a singleton.
Witch fails with an XCTAssertNotEqual failed: ("ObjectIdentifier(0x00007f9e6470f1d0)") is equal to ("ObjectIdentifier(0x00007f9e6470f1d0)") error. What can cause such issue?
Btw I'm using Xcode 12.5, Swift 5.4, Swinject 2.8.0
The text was updated successfully, but these errors were encountered:
Hi!
I'm playing with the swinject and its weak object scope. It works like a charm, when I'm resolving an object without any arguments. When I want to register and resolve an object with one/more arguments, it acts as a singleton.
Here's the class declaration and registration
And here's the test result:
Witch fails with an
XCTAssertNotEqual failed: ("ObjectIdentifier(0x00007f9e6470f1d0)") is equal to ("ObjectIdentifier(0x00007f9e6470f1d0)")
error. What can cause such issue?Btw I'm using Xcode 12.5, Swift 5.4, Swinject 2.8.0
The text was updated successfully, but these errors were encountered: