{"action":"created","issue":{"url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/953","labels_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/953/labels{/name}","comments_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/953/comments","events_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/953/events","html_url":"https://github.com/MongoEngine/mongoengine/pull/953","id":67738696,"number":953,"title":"Fixes #934 - Added option to disable field existence check.","user":{"login":"gordol","id":524853,"avatar_url":"https://avatars.githubusercontent.com/u/524853?v=3","gravatar_id":"","url":"https://api.github.com/users/gordol","html_url":"https://github.com/gordol","followers_url":"https://api.github.com/users/gordol/followers","following_url":"https://api.github.com/users/gordol/following{/other_user}","gists_url":"https://api.github.com/users/gordol/gists{/gist_id}","starred_url":"https://api.github.com/users/gordol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordol/subscriptions","organizations_url":"https://api.github.com/users/gordol/orgs","repos_url":"https://api.github.com/users/gordol/repos","events_url":"https://api.github.com/users/gordol/events{/privacy}","received_events_url":"https://api.github.com/users/gordol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-11T05:39:17Z","updated_at":"2015-04-11T06:33:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/MongoEngine/mongoengine/pulls/953","html_url":"https://github.com/MongoEngine/mongoengine/pull/953","diff_url":"https://github.com/MongoEngine/mongoengine/pull/953.diff","patch_url":"https://github.com/MongoEngine/mongoengine/pull/953.patch"},"body":"\r\nI threw together this patch as an idea to fix #934.\r\n\r\nI haven't dug too deep into Mongoengine to know what else this might affect, but I used _from_son in BaseDocument object as my injection point. The idea being that if one tries to define in code a field that does not exist, an error is still raised, but if one pulls in data from a PyMongo object, we don't raise an error.\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/mongoengine/mongoengine/953)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/comments/91771866","html_url":"https://github.com/MongoEngine/mongoengine/pull/953#issuecomment-91771866","issue_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/953","id":91771866,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2015-04-11T06:33:58Z","updated_at":"2015-04-11T06:33:58Z","body":"\n[![Coverage Status](https://coveralls.io/builds/2315243/badge)](https://coveralls.io/builds/2315243)\n\nCoverage decreased (-0.02%) to 73.0% when pulling **4738e63b0988e6309e729592bae9ffd74795e539 on gordol:943_ideas** into **19dc3121283f03889eeef6577087bbd8dff7b3d2 on MongoEngine:master**.\n"}}