Skip to content

No source gen dep #85

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 2 commits into from
Dec 15, 2017
Merged

No source gen dep #85

merged 2 commits into from
Dec 15, 2017

Conversation

kevmoo
Copy link
Collaborator

@kevmoo kevmoo commented Dec 15, 2017

I will update the example once I publish the latest of each package

We always want this code to be usable outside the repo since it's
referenced directly.
/// `json_serializable`.
///
/// [example]: https://github.com/dart-lang/json_serializable/tree/master/example
PartBuilder jsonPartBuilder({String header, bool useWrappers: false}) {
Copy link
Member

Choose a reason for hiding this comment

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

why do you need to expose this as PartBuilder? Do you want to expose it instead as a Builder?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yup!

* Added a new method: jsonPartBuilder - so folks don't need to reference
  source_gen

* Deprecated generators.dart in favor of json_serializable.dart
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