{"action":"created","issue":{"url":"https://api.github.com/repos/p1c2u/openapi-core/issues/95","repository_url":"https://api.github.com/repos/p1c2u/openapi-core","labels_url":"https://api.github.com/repos/p1c2u/openapi-core/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/p1c2u/openapi-core/issues/95/comments","events_url":"https://api.github.com/repos/p1c2u/openapi-core/issues/95/events","html_url":"https://github.com/p1c2u/openapi-core/issues/95","id":357770601,"node_id":"MDU6SXNzdWUzNTc3NzA2MDE=","number":95,"title":"Body from `RequestValidationResult` not a dict anymore","user":{"login":"diogobaeder","id":207168,"node_id":"MDQ6VXNlcjIwNzE2OA==","avatar_url":"https://avatars3.githubusercontent.com/u/207168?v=4","gravatar_id":"","url":"https://api.github.com/users/diogobaeder","html_url":"https://github.com/diogobaeder","followers_url":"https://api.github.com/users/diogobaeder/followers","following_url":"https://api.github.com/users/diogobaeder/following{/other_user}","gists_url":"https://api.github.com/users/diogobaeder/gists{/gist_id}","starred_url":"https://api.github.com/users/diogobaeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diogobaeder/subscriptions","organizations_url":"https://api.github.com/users/diogobaeder/orgs","repos_url":"https://api.github.com/users/diogobaeder/repos","events_url":"https://api.github.com/users/diogobaeder/events{/privacy}","received_events_url":"https://api.github.com/users/diogobaeder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-06T18:20:26Z","updated_at":"2018-09-14T13:14:13Z","closed_at":null,"author_association":"NONE","body":"Hi guys,\r\n\r\nI upgraded `openapi-core` on my project to 0.6.0, and now when I get an instance of `RequestValidationResult` and try to access the request body, it's a `Model` instance now, and I can't get it easily transformed to a plain dictionary to be used elsewhere - for example with `dacite.from_dict`, which I'm also using together with `openapi-core`.\r\n\r\nI could get the plain dict body from the Flask request instead, but it would be nice if I could keep using the `result.body` instead, as this leads to a better design - it makes it clear that the body was validated.\r\n\r\nAny suggestions on how I should proceed? Can the library receive an implementation change so that it's easier to get the dict representation of the model? Or should I go on and use Flask's request object instead?\r\n\r\nThanks,\r\nDiogo"},"comment":{"url":"https://api.github.com/repos/p1c2u/openapi-core/issues/comments/421354402","html_url":"https://github.com/p1c2u/openapi-core/issues/95#issuecomment-421354402","issue_url":"https://api.github.com/repos/p1c2u/openapi-core/issues/95","id":421354402,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTM1NDQwMg==","user":{"login":"domenkozar","id":126339,"node_id":"MDQ6VXNlcjEyNjMzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/126339?v=4","gravatar_id":"","url":"https://api.github.com/users/domenkozar","html_url":"https://github.com/domenkozar","followers_url":"https://api.github.com/users/domenkozar/followers","following_url":"https://api.github.com/users/domenkozar/following{/other_user}","gists_url":"https://api.github.com/users/domenkozar/gists{/gist_id}","starred_url":"https://api.github.com/users/domenkozar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenkozar/subscriptions","organizations_url":"https://api.github.com/users/domenkozar/orgs","repos_url":"https://api.github.com/users/domenkozar/repos","events_url":"https://api.github.com/users/domenkozar/events{/privacy}","received_events_url":"https://api.github.com/users/domenkozar/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T13:14:13Z","updated_at":"2018-09-14T13:14:13Z","author_association":"CONTRIBUTOR","body":"@p1c2u would `RequestValidationResult` be the model factory one can override?"}}
{"actor":{"display_login":"domenkozar"}}