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

Upgrade to source_gen 0.9.0 #154

Merged
merged 3 commits into from
Aug 6, 2018
Merged

Conversation

natebosch
Copy link
Member

pageloader can now be combined with other builders that want to output
to .g.dart part files.

  • Upgrade to the latest buit_value_generator for compatibility.
  • Change the output extension to .pageloader.g.part following the new
    source_gen convention and apply the combining builder to get the
    .g.dart.
  • Remove the header option since it is no longer supported and move the
    extra ignores into the generator itself.
  • Override the generate method to prepend the ignores once instead of
    once per annotated element.
  • Regenerate all files.
  • Move build_config to normal dependencies since it is used to parse
    this package's build.yaml when used transitively.

pageloader can now be combined with other builders that want to output
to `.g.dart` part files.

- Upgrade to the latest buit_value_generator for compatibility.
- Change the output extension to `.pageloader.g.part` following the new
  `source_gen` convention and apply the combining builder to get the
  `.g.dart`.
- Remove the header option since it is no longer supported and move the
  extra ignores into the generator itself.
- Override the `generate` method to prepend the ignores once instead of
  once per annotated element.
- Regenerate all files.
- Move `build_config` to normal dependencies since it is used to parse
  this package's `build.yaml` when used transitively.
@kevmoo
Copy link
Collaborator

kevmoo commented Aug 1, 2018

Closes #153 ?

Copy link
Collaborator

@kevmoo kevmoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you look at quiver, too?

@natebosch
Copy link
Member Author

I hadn't planned on doing anything with the quiver dep. That can probably be done in a separate PR

@kevmoo
Copy link
Collaborator

kevmoo commented Aug 1, 2018 via email

@mk13
Copy link
Member

mk13 commented Aug 3, 2018

@kevmoo
Wait for this before releasing 3.0.0?

@kevmoo
Copy link
Collaborator

kevmoo commented Aug 3, 2018

Please! @natebosch – can you rebase?

@natebosch
Copy link
Member Author

Merged in master

@mk13
Copy link
Member

mk13 commented Aug 5, 2018

Is this ready to be submitted?

@natebosch
Copy link
Member Author

Yes, this should be good to go

@chalin
Copy link
Contributor

chalin commented Aug 5, 2018

Can this be merged soon, I'll need it to make the Angular example apps (and tests) fully Dart 2-final ready :)

built_value: ^5.1.0
matcher: ^0.12.0+1
quiver: ^0.29.0
source_gen: ^0.8.0
source_gen: ^0.9.0
webdriver: ^2.0.0-beta+1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

webdriver version will need to be updated too -- see google/webdriver.dart#205 (comment).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kevmoo kevmoo merged commit 1d8b78b into google:master Aug 6, 2018
@natebosch natebosch deleted the latest-source-gen branch August 6, 2018 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants