{"action":"created","issue":{"url":"https://api.github.com/repos/meituan/EasyReact/issues/33","repository_url":"https://api.github.com/repos/meituan/EasyReact","labels_url":"https://api.github.com/repos/meituan/EasyReact/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/meituan/EasyReact/issues/33/comments","events_url":"https://api.github.com/repos/meituan/EasyReact/issues/33/events","html_url":"https://github.com/meituan/EasyReact/issues/33","id":346824609,"node_id":"MDU6SXNzdWUzNDY4MjQ2MDk=","number":33,"title":"syncWith:transform:revert API Error","user":{"login":"zhudaye12138","id":13361283,"node_id":"MDQ6VXNlcjEzMzYxMjgz","avatar_url":"https://avatars1.githubusercontent.com/u/13361283?v=4","gravatar_id":"","url":"https://api.github.com/users/zhudaye12138","html_url":"https://github.com/zhudaye12138","followers_url":"https://api.github.com/users/zhudaye12138/followers","following_url":"https://api.github.com/users/zhudaye12138/following{/other_user}","gists_url":"https://api.github.com/users/zhudaye12138/gists{/gist_id}","starred_url":"https://api.github.com/users/zhudaye12138/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhudaye12138/subscriptions","organizations_url":"https://api.github.com/users/zhudaye12138/orgs","repos_url":"https://api.github.com/users/zhudaye12138/repos","events_url":"https://api.github.com/users/zhudaye12138/events{/privacy}","received_events_url":"https://api.github.com/users/zhudaye12138/received_events","type":"User","site_admin":false},"labels":[{"id":985662561,"node_id":"MDU6TGFiZWw5ODU2NjI1NjE=","url":"https://api.github.com/repos/meituan/EasyReact/labels/Bug","name":"Bug","color":"d73a4a","default":false},{"id":990717241,"node_id":"MDU6TGFiZWw5OTA3MTcyNDE=","url":"https://api.github.com/repos/meituan/EasyReact/labels/Typo","name":"Typo","color":"7fefaf","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/meituan/EasyReact/milestones/1","html_url":"https://github.com/meituan/EasyReact/milestone/1","labels_url":"https://api.github.com/repos/meituan/EasyReact/milestones/1/labels","id":3516210,"node_id":"MDk6TWlsZXN0b25lMzUxNjIxMA==","number":1,"title":"2.3.0","description":"","creator":{"login":"WilliamZang","id":3470209,"node_id":"MDQ6VXNlcjM0NzAyMDk=","avatar_url":"https://avatars1.githubusercontent.com/u/3470209?v=4","gravatar_id":"","url":"https://api.github.com/users/WilliamZang","html_url":"https://github.com/WilliamZang","followers_url":"https://api.github.com/users/WilliamZang/followers","following_url":"https://api.github.com/users/WilliamZang/following{/other_user}","gists_url":"https://api.github.com/users/WilliamZang/gists{/gist_id}","starred_url":"https://api.github.com/users/WilliamZang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WilliamZang/subscriptions","organizations_url":"https://api.github.com/users/WilliamZang/orgs","repos_url":"https://api.github.com/users/WilliamZang/repos","events_url":"https://api.github.com/users/WilliamZang/events{/privacy}","received_events_url":"https://api.github.com/users/WilliamZang/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":4,"state":"open","created_at":"2018-07-23T13:03:38Z","updated_at":"2018-08-02T07:20:32Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-08-02T01:19:15Z","updated_at":"2018-08-03T03:10:52Z","closed_at":null,"author_association":"NONE","body":"When I syncWith   EZRNode<NSNumber *>  and  EZRNode<NSString *>  ,there will be a mistake\r\n   \r\n```\r\n    EZRMutableNode<NSNumber *> *nodeA = [EZRMutableNode new];\r\n    EZRMutableNode<NSString *> *nodeB = [EZRMutableNode new];\r\n    \r\n    [nodeA syncWith:nodeB transform:^id _Nonnull(NSNumber * _Nonnull source) {\r\n        NSLog(@\"class is %@\",[source class]);    // source is not NSNumber but  __NSCFConstantString\r\n         return @\"9\";\r\n    } revert:^NSNumber * _Nonnull(id  _Nonnull target) {\r\n         return @2;\r\n    }];\r\n```\r\n\r\nThe current API is\r\n\r\n`- (id<EZRCancelable>)syncWith:(EZRNode *)othEZRNode transform:(id (^)(T source))transform revert:(T (^)(id target))revert;`\r\n\r\nMaybe this way is right\r\n\r\n`- (id<EZRCancelable>)syncWith:(EZRNode<T> *)othEZRNode transform:(T (^)(T source))transform revert:(T (^)(T target))revert;`"},"comment":{"url":"https://api.github.com/repos/meituan/EasyReact/issues/comments/410131612","html_url":"https://github.com/meituan/EasyReact/issues/33#issuecomment-410131612","issue_url":"https://api.github.com/repos/meituan/EasyReact/issues/33","id":410131612,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDEzMTYxMg==","user":{"login":"ValiantCat","id":6142855,"node_id":"MDQ6VXNlcjYxNDI4NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/6142855?v=4","gravatar_id":"","url":"https://api.github.com/users/ValiantCat","html_url":"https://github.com/ValiantCat","followers_url":"https://api.github.com/users/ValiantCat/followers","following_url":"https://api.github.com/users/ValiantCat/following{/other_user}","gists_url":"https://api.github.com/users/ValiantCat/gists{/gist_id}","starred_url":"https://api.github.com/users/ValiantCat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValiantCat/subscriptions","organizations_url":"https://api.github.com/users/ValiantCat/orgs","repos_url":"https://api.github.com/users/ValiantCat/repos","events_url":"https://api.github.com/users/ValiantCat/events{/privacy}","received_events_url":"https://api.github.com/users/ValiantCat/received_events","type":"User","site_admin":false},"created_at":"2018-08-03T03:10:52Z","updated_at":"2018-08-03T03:10:52Z","author_association":"MEMBER","body":"@WilliamZang  "}}
{"actor":{"display_login":"ValiantCat"}}