Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Implement sync method DECLARATION inside of interface. #87

Open
lsoft opened this issue Oct 3, 2024 · 1 comment
Open

Comments

@lsoft
Copy link

lsoft commented Oct 3, 2024

The generator is able to build sync sibling for an async method. That's great tool for us, we have 130 usages of [Zomp.SyncMethodGenerator.CreateSyncVersion] in our project.

I ask for a feature, when the generator will be able to build a sync method declaration inside in interfaces:

//we have
    public partial interface IA
    {
        [Zomp.SyncMethodGenerator.CreateSyncVersion]
        Task<int> SomeMethodAsync();
    }

//generator build:
    public partial interface IA
    {
        int SomeMethod();
    }
@virzak
Copy link
Contributor

virzak commented Oct 3, 2024

Hey Vyacheslav, good to hear from you.

Will implement on the weekend!

Really happy about the usages!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants