Skip to content

No source gen dep#85

Merged
kevmoo merged 2 commits into
masterfrom
no_source_gen_dep
Dec 15, 2017
Merged

No source gen dep#85
kevmoo merged 2 commits into
masterfrom
no_source_gen_dep

Conversation

@kevmoo

@kevmoo kevmoo commented Dec 15, 2017

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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
Copy Markdown
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