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] Added generation all wrapper with Source Generators #49

Closed
redradist opened this issue Jun 28, 2020 · 3 comments
Closed

Comments

@redradist
Copy link

To reduce boilerplate it would be nice if it would be generated say with Source Generators by annotating the variable with annotation

@mrpmorris
Copy link
Owner

Sorry, I don't know what you are asking for. Could you provide an example?

@redradist
Copy link
Author

redradist commented Jul 1, 2020

@mrpmorris I mean to generate all this stuffs https://github.com/mrpmorris/Fluxor/blob/master/Tutorials/01-BasicConcepts/01A-StateActionsReducersTutorial/README.md

CounterState, Feature<CounterState> and etc.

I just want to write:

    [FluxorState]
    int Counter { get; }

It could be done on compilation step with https://devblogs.microsoft.com/dotnet/introducing-c-source-generators/

@mrpmorris
Copy link
Owner

It looks like an interesting tool, but isn't suitable for Fluxor because there are lots of ways a coder can structure their app.

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