{"action":"created","issue":{"url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/830","repository_url":"https://api.github.com/repos/mobxjs/mobx-state-tree","labels_url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/830/labels{/name}","comments_url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/830/comments","events_url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/830/events","html_url":"https://github.com/mobxjs/mobx-state-tree/issues/830","id":326758412,"node_id":"MDU6SXNzdWUzMjY3NTg0MTI=","number":830,"title":"A version of `types.maybe` which uses `undefined` instead of `null`","user":{"login":"pelotom","id":128019,"node_id":"MDQ6VXNlcjEyODAxOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/128019?v=4","gravatar_id":"","url":"https://api.github.com/users/pelotom","html_url":"https://github.com/pelotom","followers_url":"https://api.github.com/users/pelotom/followers","following_url":"https://api.github.com/users/pelotom/following{/other_user}","gists_url":"https://api.github.com/users/pelotom/gists{/gist_id}","starred_url":"https://api.github.com/users/pelotom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelotom/subscriptions","organizations_url":"https://api.github.com/users/pelotom/orgs","repos_url":"https://api.github.com/users/pelotom/repos","events_url":"https://api.github.com/users/pelotom/events{/privacy}","received_events_url":"https://api.github.com/users/pelotom/received_events","type":"User","site_admin":false},"labels":[{"id":659796982,"node_id":"MDU6TGFiZWw2NTk3OTY5ODI=","url":"https://api.github.com/repos/mobxjs/mobx-state-tree/labels/breaking%20change","name":"breaking change","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mobxjs/mobx-state-tree/milestones/3","html_url":"https://github.com/mobxjs/mobx-state-tree/milestone/3","labels_url":"https://api.github.com/repos/mobxjs/mobx-state-tree/milestones/3/labels","id":3334007,"node_id":"MDk6TWlsZXN0b25lMzMzNDAwNw==","number":3,"title":"3.0","description":null,"creator":{"login":"mweststrate","id":1820292,"node_id":"MDQ6VXNlcjE4MjAyOTI=","avatar_url":"https://avatars0.githubusercontent.com/u/1820292?v=4","gravatar_id":"","url":"https://api.github.com/users/mweststrate","html_url":"https://github.com/mweststrate","followers_url":"https://api.github.com/users/mweststrate/followers","following_url":"https://api.github.com/users/mweststrate/following{/other_user}","gists_url":"https://api.github.com/users/mweststrate/gists{/gist_id}","starred_url":"https://api.github.com/users/mweststrate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mweststrate/subscriptions","organizations_url":"https://api.github.com/users/mweststrate/orgs","repos_url":"https://api.github.com/users/mweststrate/repos","events_url":"https://api.github.com/users/mweststrate/events{/privacy}","received_events_url":"https://api.github.com/users/mweststrate/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":8,"state":"open","created_at":"2018-05-09T18:23:30Z","updated_at":"2018-07-03T11:41:07Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-05-26T18:30:21Z","updated_at":"2018-07-05T16:50:13Z","closed_at":null,"author_association":"NONE","body":"[In TypeScript especially](https://medium.com/@basarat/null-vs-undefined-in-typescript-land-dc0c7a5f240a), `undefined` is almost always preferable to `null` as a representation of unset values, so it would be nice if there was a version of `types.maybe` (`types.maybeUndefined`?) which used `undefined` instead of `null`."},"comment":{"url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/comments/402785527","html_url":"https://github.com/mobxjs/mobx-state-tree/issues/830#issuecomment-402785527","issue_url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/830","id":402785527,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjc4NTUyNw==","user":{"login":"mweststrate","id":1820292,"node_id":"MDQ6VXNlcjE4MjAyOTI=","avatar_url":"https://avatars0.githubusercontent.com/u/1820292?v=4","gravatar_id":"","url":"https://api.github.com/users/mweststrate","html_url":"https://github.com/mweststrate","followers_url":"https://api.github.com/users/mweststrate/followers","following_url":"https://api.github.com/users/mweststrate/following{/other_user}","gists_url":"https://api.github.com/users/mweststrate/gists{/gist_id}","starred_url":"https://api.github.com/users/mweststrate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mweststrate/subscriptions","organizations_url":"https://api.github.com/users/mweststrate/orgs","repos_url":"https://api.github.com/users/mweststrate/repos","events_url":"https://api.github.com/users/mweststrate/events{/privacy}","received_events_url":"https://api.github.com/users/mweststrate/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T16:50:13Z","updated_at":"2018-07-05T16:50:13Z","author_association":"MEMBER","body":"Done! In MST 3 `types.maybe` will use undefined as default value, and `types.maybeNull` can be used for the old behavior"}}
{"actor":{"display_login":"mweststrate"}}