Skip to content

Conversation

@stephanebachelier
Copy link
Contributor

  • Default is set to null but it's easy to override.
  • Add value assigners to control value assignment to data

See comments in #102.
Previous PR in #106 then #112 on minor which is behind master. So this PR is made against master.

cc @rhubarbselleven

 * Default is set to null but it's easy to override.
 * Add value assigners to control value assignment to data
Copy link
Member

@scott-w scott-w left a comment

Choose a reason for hiding this comment

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

Hi @stephanebachelier thanks for submitting this. I appreciate it's been a while but if you can help me understand what's happening here I'll be more than happy to merge this and get it into a new release.


// return value by default
ValueAssigners.registerDefault(function(value) {
return function(obj, key) {
Copy link
Member

Choose a reason for hiding this comment

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

This feels like a complex implementation. Do you see developers adding their own custom ValueAssigners often?

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