{"action":"closed","issue":{"url":"https://api.github.com/repos/codeigniter4/CodeIgniter4/issues/2088","repository_url":"https://api.github.com/repos/codeigniter4/CodeIgniter4","labels_url":"https://api.github.com/repos/codeigniter4/CodeIgniter4/issues/2088/labels{/name}","comments_url":"https://api.github.com/repos/codeigniter4/CodeIgniter4/issues/2088/comments","events_url":"https://api.github.com/repos/codeigniter4/CodeIgniter4/issues/2088/events","html_url":"https://github.com/codeigniter4/CodeIgniter4/issues/2088","id":464812615,"node_id":"MDU6SXNzdWU0NjQ4MTI2MTU=","number":2088,"title":"Result from database was auto encoded when using Entity","user":{"login":"WarrenWN","id":41002034,"node_id":"MDQ6VXNlcjQxMDAyMDM0","avatar_url":"https://avatars0.githubusercontent.com/u/41002034?v=4","gravatar_id":"","url":"https://api.github.com/users/WarrenWN","html_url":"https://github.com/WarrenWN","followers_url":"https://api.github.com/users/WarrenWN/followers","following_url":"https://api.github.com/users/WarrenWN/following{/other_user}","gists_url":"https://api.github.com/users/WarrenWN/gists{/gist_id}","starred_url":"https://api.github.com/users/WarrenWN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WarrenWN/subscriptions","organizations_url":"https://api.github.com/users/WarrenWN/orgs","repos_url":"https://api.github.com/users/WarrenWN/repos","events_url":"https://api.github.com/users/WarrenWN/events{/privacy}","received_events_url":"https://api.github.com/users/WarrenWN/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-07-06T03:25:48Z","updated_at":"2019-07-27T05:43:33Z","closed_at":"2019-07-27T05:43:33Z","author_association":"NONE","body":"/system/Database/BaseResult.php , Line 151 \r\n` function getCustomResultObject(string $className)` will call Entity::__set , which encodes the result **from database**(a string) if `$castTo === 'json' || $castTo === 'json-array'`.\r\n**Version :**  CodeIgniter 4.0.0-beta.3"}}
{"actor":{"display_login":"WarrenWN"}}