Skip to content

Conversation

@kevmoo
Copy link
Collaborator

@kevmoo kevmoo commented Jul 9, 2018

The default for the generate_to_json_function is now true.

@kevmoo kevmoo force-pushed the to_json_function_by_default branch 2 times, most recently from 8345818 to eba5cd1 Compare July 13, 2018 20:19
@kevmoo kevmoo changed the title WIP: default to using toJson function feature: default to creating toJson function instead of a mixin Jul 13, 2018
@kevmoo kevmoo requested review from jakemac53 and natebosch July 13, 2018 20:21
@kevmoo kevmoo force-pushed the to_json_function_by_default branch from b5ca08e to d559dc1 Compare July 13, 2018 23:06
* **BREAKING** By default, code generated to support `toJson` now creates
a top-level function instead of a mixin.
* The default for the `generate_to_json_function` is now `true`.
* To opt-out of this change, set `generate_to_json_function` to `false`.
Copy link
Member

Choose a reason for hiding this comment

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

do these need to be separate sub bullets? They seem like a continuation of the same thought.

@kevmoo
Copy link
Collaborator Author

kevmoo commented Jul 16, 2018 via email

@kevmoo kevmoo force-pushed the to_json_function_by_default branch from b905a68 to 8587a82 Compare July 16, 2018 18:31
@kevmoo kevmoo merged commit 419eba9 into master Jul 16, 2018
@kevmoo kevmoo deleted the to_json_function_by_default branch July 16, 2018 18:32
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.

3 participants