{"action":"created","issue":{"url":"https://api.github.com/repos/graphql-python/graphene/issues/60","labels_url":"https://api.github.com/repos/graphql-python/graphene/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/graphql-python/graphene/issues/60/comments","events_url":"https://api.github.com/repos/graphql-python/graphene/issues/60/events","html_url":"https://github.com/graphql-python/graphene/pull/60","id":120035475,"number":60,"title":"Django integration implementation","user":{"login":"adamcharnock","id":138215,"avatar_url":"https://avatars.githubusercontent.com/u/138215?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcharnock","html_url":"https://github.com/adamcharnock","followers_url":"https://api.github.com/users/adamcharnock/followers","following_url":"https://api.github.com/users/adamcharnock/following{/other_user}","gists_url":"https://api.github.com/users/adamcharnock/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcharnock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcharnock/subscriptions","organizations_url":"https://api.github.com/users/adamcharnock/orgs","repos_url":"https://api.github.com/users/adamcharnock/repos","events_url":"https://api.github.com/users/adamcharnock/events{/privacy}","received_events_url":"https://api.github.com/users/adamcharnock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-12-02T21:04:44Z","updated_at":"2015-12-05T22:29:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/graphql-python/graphene/pulls/60","html_url":"https://github.com/graphql-python/graphene/pull/60","diff_url":"https://github.com/graphql-python/graphene/pull/60.diff","patch_url":"https://github.com/graphql-python/graphene/pull/60.patch"},"body":"I'm creating this (work in progress) pull request given that #48 seems to have developed a sensible solution.\r\n\r\nThis pull request currently represents the contents of the original proposed Gist which can be found at:\r\nhttps://gist.github.com/adamcharnock/ad051b419d4c613d40fe\r\n\r\nTodo:\r\n\r\n- [x] Create a `GlobalIDFilter` and `GlobalIDField` field\r\n-  ~~Consider allowing the new resolvers to be used as function decorators (as per @syrusakbary suggestion)~~\r\n- [x] Allow FilterSet classes to be created dynamically created upon passing a `fields` argument to `DjangoFilterConnectionField` (as per @syrusakbary suggestion)\r\n- [x] Write tests\r\n- [x] `django-filter` should be an optional package\r\n- [x] Filtering on to-many fields\r\n- [x] Change order parameter name to `order` rather than `o`\r\n- [x] Filtering information should be stored on the destination node's `Meta` class\r\n- [ ] Filtering should be available on nodes without having to explicitly define the fields\r\n- [x] Filtering should be enabled explicitly (i.e. via Django setting) rather than implicit (via presence of `django-filter`).\r\n- [ ] Documentation\r\n\r\nUseful, but perhaps for a second phase of development:\r\n\r\n- [ ] Support for lazy loading of related nodes\r\n- [ ] Loading of app-level query classes"},"comment":{"url":"https://api.github.com/repos/graphql-python/graphene/issues/comments/162253674","html_url":"https://github.com/graphql-python/graphene/pull/60#issuecomment-162253674","issue_url":"https://api.github.com/repos/graphql-python/graphene/issues/60","id":162253674,"user":{"login":"adamcharnock","id":138215,"avatar_url":"https://avatars.githubusercontent.com/u/138215?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcharnock","html_url":"https://github.com/adamcharnock","followers_url":"https://api.github.com/users/adamcharnock/followers","following_url":"https://api.github.com/users/adamcharnock/following{/other_user}","gists_url":"https://api.github.com/users/adamcharnock/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcharnock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcharnock/subscriptions","organizations_url":"https://api.github.com/users/adamcharnock/orgs","repos_url":"https://api.github.com/users/adamcharnock/repos","events_url":"https://api.github.com/users/adamcharnock/events{/privacy}","received_events_url":"https://api.github.com/users/adamcharnock/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T22:29:04Z","updated_at":"2015-12-05T22:29:04Z","body":"Ok, I'll take a look.\r\n\r\nAny thoughts on those broken tests?"}}