{"action":"reopened","issue":{"url":"https://api.github.com/repos/datrs/merkle-tree-stream/issues/9","repository_url":"https://api.github.com/repos/datrs/merkle-tree-stream","labels_url":"https://api.github.com/repos/datrs/merkle-tree-stream/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/datrs/merkle-tree-stream/issues/9/comments","events_url":"https://api.github.com/repos/datrs/merkle-tree-stream/issues/9/events","html_url":"https://github.com/datrs/merkle-tree-stream/issues/9","id":327025078,"node_id":"MDU6SXNzdWUzMjcwMjUwNzg=","number":9,"title":"Express Leaf and Parent types in the type system","user":{"login":"yoshuawuyts","id":2467194,"node_id":"MDQ6VXNlcjI0NjcxOTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2467194?v=4","gravatar_id":"","url":"https://api.github.com/users/yoshuawuyts","html_url":"https://github.com/yoshuawuyts","followers_url":"https://api.github.com/users/yoshuawuyts/followers","following_url":"https://api.github.com/users/yoshuawuyts/following{/other_user}","gists_url":"https://api.github.com/users/yoshuawuyts/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshuawuyts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshuawuyts/subscriptions","organizations_url":"https://api.github.com/users/yoshuawuyts/orgs","repos_url":"https://api.github.com/users/yoshuawuyts/repos","events_url":"https://api.github.com/users/yoshuawuyts/events{/privacy}","received_events_url":"https://api.github.com/users/yoshuawuyts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-28T13:21:48Z","updated_at":"2018-06-15T20:23:26Z","closed_at":null,"author_association":"MEMBER","body":"We're having trouble that `PartialNode.data` is of `Option<Vec<u8>>`, so when we move it out of the `Option`, we get a `move` error.\r\n\r\nInstead by encoding this in the type system, we no longer require `.as_ref()` + `.unwrap()` to access the data. This should provide an API that is easier to reason about, and potentially more safe."}}
{"actor":{"display_login":"yoshuawuyts"}}