Closed XanNava closed 1 year ago
Seems to happen with Grace version 7.2.1 also
I figured it out. For reference one needs to use container.Locate<IService>(withKey: "ServiceA");
the withKey so it is used for the right argument.
Sounds like this is solved
Below is code I am using to test out Keyed Import/Export.
I am however getting the message.
if I have just a
c.Export<Service>().As<IService>();
I can get an instance of it, but the key still won't work, and just defaults to the none keyed entry.Using Grace 8.0.0-Beta822