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

Move the mutation API out to separate builder objects. #2

Merged
merged 3 commits into from Jun 11, 2021

Conversation

munificent
Copy link
Collaborator

(You don't have to land this. Just sending a PR to get your attention. :) )

Here's a rough proposal for how it could look to move the mutation side
of the macro API to objects that are passed separately to the macro.
This means there is no longer a need to maintain separate pairs of Foo
and TargetFoo classes.

I don't think it's a huge win in this PR, but as these APIs fill out
with more members, I think the separation would become more valuable.

Here's a rough proposal for how it could look to move the mutation side
of the macro API to objects that are passed separately to the macro.
This means there is no longer a need to maintain separate pairs of Foo
and TargetFoo classes.

I don't think it's a huge win in this PR, but as these APIs fill out
with more members, I think the separation would become more valuable.
lib/src/declarations.dart Show resolved Hide resolved
lib/src/macro.dart Outdated Show resolved Hide resolved
lib/src/macro.dart Outdated Show resolved Hide resolved
@jakemac53 jakemac53 merged commit da3fc42 into jakemac53:main Jun 11, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants