Skip to content

Upgrade to the latest source_gen #260

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

Merged
merged 6 commits into from
Jul 24, 2018
Merged

Upgrade to the latest source_gen #260

merged 6 commits into from
Jul 24, 2018

Conversation

natebosch
Copy link
Member

Relying on a git dependency for source_gen until it is published.

  • Switch to SharedPartBuilder to keep using .g.dart file extension.
  • Remove header option and documentation since it's not supported with
    SharedPartBuilder.
  • Update the example to use the latest.

Relying on a git dependency for source_gen until it is published.

- Switch to `SharedPartBuilder` to keep using `.g.dart` file extension.
- Remove `header` option and documentation since it's not supported with
  `SharedPartBuilder`.
- Update the example to use the latest.
@@ -31,3 +31,7 @@ dev_dependencies:
dependency_overrides:
json_annotation:
path: ../json_annotation
source_gen:
git:
url: git@github.com:dart-lang/source_gen.git
Copy link
Collaborator

Choose a reason for hiding this comment

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

Must use https://github.com/dart-lang/source_gen to work on travis...

Copy link
Member Author

Choose a reason for hiding this comment

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

was planning on updating to point to the published version soon

@kevmoo
Copy link
Collaborator

kevmoo commented Jul 18, 2018 via email

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.

Now that we've validated the example code works, can we drop the changes to example? I want to keep tho code there to be 100% based on published packages, so folks who go here get something that will work

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.

:shipit:

@kevmoo
Copy link
Collaborator

kevmoo commented Jul 24, 2018

...just make sure you clean up the commit log (no example update, etc)

@natebosch natebosch merged commit a522b8b into master Jul 24, 2018
@natebosch natebosch deleted the source-gen-0.9 branch July 24, 2018 19:18
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.

2 participants