Skip to content
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

Document the allowNull property on the boolean transform #4515

Merged
merged 1 commit into from
Aug 30, 2016

Conversation

bmac
Copy link
Member

@bmac bmac commented Aug 26, 2016

No description provided.

@locks
Copy link
Contributor

locks commented Aug 26, 2016

When was this option introduced?

@bmac
Copy link
Member Author

bmac commented Aug 26, 2016

@@ -22,6 +22,20 @@ const { isNone } = Ember;
});
```

By default the boolean transform only allows for values of `true` or
`false`. You can opt into allowing `null`/`undefined` values for
Copy link
Member

Choose a reason for hiding this comment

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

Technically null is returned when the serialized value isNone.

@bmac bmac force-pushed the update-boolean-transform-docs branch from 3104a77 to ed794d9 Compare August 26, 2016 19:51
@pangratz pangratz merged commit cf3a842 into emberjs:master Aug 30, 2016
@pangratz
Copy link
Member

Thank you kindly

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