-
Notifications
You must be signed in to change notification settings - Fork 412
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
Conversation
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.
json_serializable/pubspec.yaml
Outdated
@@ -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 |
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
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
ack
…On Wed, Jul 18, 2018 at 4:26 PM Nate Bosch ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In json_serializable/pubspec.yaml
<#260 (comment)>
:
> @@ -31,3 +31,7 @@ dev_dependencies:
dependency_overrides:
json_annotation:
path: ../json_annotation
+ source_gen:
+ git:
+ url: ***@***.***:dart-lang/source_gen.git
was planning on updating to point to the published version soon
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#260 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABCipq_IsythQh6ml0p3EoIC7geprICks5uH8Q7gaJpZM4VVc1S>
.
|
There was a problem hiding this 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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...just make sure you clean up the commit log (no example update, etc) |
Relying on a git dependency for source_gen until it is published.
SharedPartBuilder
to keep using.g.dart
file extension.header
option and documentation since it's not supported withSharedPartBuilder
.