{"action":"closed","issue":{"url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/934","labels_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/934/labels{/name}","comments_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/934/comments","events_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/934/events","html_url":"https://github.com/MongoEngine/mongoengine/issues/934","id":67016387,"number":934,"title":"#457 breaks legacy/undeclared fields","user":{"login":"noirbizarre","id":15725,"avatar_url":"https://avatars.githubusercontent.com/u/15725?v=3","gravatar_id":"","url":"https://api.github.com/users/noirbizarre","html_url":"https://github.com/noirbizarre","followers_url":"https://api.github.com/users/noirbizarre/followers","following_url":"https://api.github.com/users/noirbizarre/following{/other_user}","gists_url":"https://api.github.com/users/noirbizarre/gists{/gist_id}","starred_url":"https://api.github.com/users/noirbizarre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noirbizarre/subscriptions","organizations_url":"https://api.github.com/users/noirbizarre/orgs","repos_url":"https://api.github.com/users/noirbizarre/repos","events_url":"https://api.github.com/users/noirbizarre/events{/privacy}","received_events_url":"https://api.github.com/users/noirbizarre/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-07T23:56:35Z","updated_at":"2015-04-29T16:32:26Z","closed_at":"2015-04-29T16:32:26Z","body":"#457 is a very big change.\r\nIt makes the application not resilient to data change, which is one strong feature of mongo.\r\nIt prevent you to load data when all the fields are not declared in your application model.\r\n\r\nWhen you share data between application using mongo, it does not allow to fetch update and save the \"known model\" without touching unkown fields.\r\n\r\nI have tons of documents with legacy fields I don't want to delete or clean now, but I don't want them declared in my application.\r\nIt's not possible anymore with #457 and I can't update to 0.9 because my data is unloadable.\r\n\r\nI know a workaround is to declare model as dynamic, but it has some side effects I don't want to manage.\r\n\r\nI think it should be an optionnal feature. Is it possible to disable it yet ?\r\n\r\nAnother alternative may be to perform the check only when using the constructor or the ``Model.objects.create`` method, not when loading existing data."}}