Skip to content

Export an unrelated type with an attribute #283

Description

@jods4

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]
class C { }

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions