{"action":"closed","issue":{"url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/645","repository_url":"https://api.github.com/repos/MongoEngine/mongoengine","labels_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/645/labels{/name}","comments_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/645/comments","events_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/645/events","html_url":"https://github.com/MongoEngine/mongoengine/issues/645","id":33931335,"number":645,"title":"embedded document field is forced to be required when it is in unique_with group in other document","user":{"login":"iici-gli","id":6988262,"avatar_url":"https://avatars.githubusercontent.com/u/6988262?v=3","gravatar_id":"","url":"https://api.github.com/users/iici-gli","html_url":"https://github.com/iici-gli","followers_url":"https://api.github.com/users/iici-gli/followers","following_url":"https://api.github.com/users/iici-gli/following{/other_user}","gists_url":"https://api.github.com/users/iici-gli/gists{/gist_id}","starred_url":"https://api.github.com/users/iici-gli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iici-gli/subscriptions","organizations_url":"https://api.github.com/users/iici-gli/orgs","repos_url":"https://api.github.com/users/iici-gli/repos","events_url":"https://api.github.com/users/iici-gli/events{/privacy}","received_events_url":"https://api.github.com/users/iici-gli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2014-05-20T21:32:10Z","updated_at":"2016-12-29T03:22:38Z","closed_at":"2016-12-29T03:22:38Z","body":"When an embedded document field is used in unique_with group in one document, and the same embedded document is uses in another document,  the field is forced to be required even the require is set to False.\n\nTo remove the forced required, I have to comment out line 715 in mongoengine/base/document.py :\n# parts[-1].required = True\n"}}
{"actor":{"display_login":"wojcikstefan"}}