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 have a bit of a weird use-case: I am interested in exporting a type that's related, but not the same, as an attributed type.
Basically I would like to have the following code:
[MagicExport]classC{}
and that would actually register Register<C> as an export for IRegister.
It seems you were going into that direction at one point with IExportStrategyProviderAttribute, which seems to be an attribute that provides a complete -- so possibly unrelated to attributed type -- export strategy.
Unfortunately for me, that interface is never referenced in Grace code.
Activity
fixing support for IExportStrategyProviderAttribute issue #283
ipjohnson commentedon Jul 27, 2021
Hi @jods4
I've pushed a new version to nuget. If you look at the changeset I added a test similar to the situation you described. Let me know how it works.
jods4 commentedon Jul 28, 2021
That looks perfect, and it was so quick... as always!
You're the best, thanks.
Do you have a planned release date for 7.2.1 final?
ipjohnson commentedon Jul 29, 2021
I'll look at pushing it this weekend, as I need to look at rolling out support for .net 6 and a new DI feature.
ipjohnson commentedon Aug 2, 2021
This has been released