{"action":"created","issue":{"url":"https://api.github.com/repos/graphql-python/graphene-django/issues/121","repository_url":"https://api.github.com/repos/graphql-python/graphene-django","labels_url":"https://api.github.com/repos/graphql-python/graphene-django/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/graphql-python/graphene-django/issues/121/comments","events_url":"https://api.github.com/repos/graphql-python/graphene-django/issues/121/events","html_url":"https://github.com/graphql-python/graphene-django/issues/121","id":210540744,"number":121,"title":"Use DjangoObjectType (or something like it) as an Input class?","user":{"login":"nuschk","id":5167117,"avatar_url":"https://avatars2.githubusercontent.com/u/5167117?v=3","gravatar_id":"","url":"https://api.github.com/users/nuschk","html_url":"https://github.com/nuschk","followers_url":"https://api.github.com/users/nuschk/followers","following_url":"https://api.github.com/users/nuschk/following{/other_user}","gists_url":"https://api.github.com/users/nuschk/gists{/gist_id}","starred_url":"https://api.github.com/users/nuschk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuschk/subscriptions","organizations_url":"https://api.github.com/users/nuschk/orgs","repos_url":"https://api.github.com/users/nuschk/repos","events_url":"https://api.github.com/users/nuschk/events{/privacy}","received_events_url":"https://api.github.com/users/nuschk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-27T16:47:55Z","updated_at":"2017-03-14T11:57:05Z","closed_at":null,"body":"We're using Graphene with Relay for some boring CRUD style mutations. Now, since we have some rather large (i.e., many fields) models, it's a bit tedious and also error-prone, to repeat typing in the model's fields again for each mutation. Is it possible to use DjangoObjectType for this (from my 1st try it seems that, no)? \r\n\r\nI'm mainly interested in the Meta class' `model` and `only_fields` options.\r\n\r\nAnd guys, thanks for the hard work on such a cool tool. "},"comment":{"url":"https://api.github.com/repos/graphql-python/graphene-django/issues/comments/286399806","html_url":"https://github.com/graphql-python/graphene-django/issues/121#issuecomment-286399806","issue_url":"https://api.github.com/repos/graphql-python/graphene-django/issues/121","id":286399806,"user":{"login":"ZhangBohan","id":2317407,"avatar_url":"https://avatars3.githubusercontent.com/u/2317407?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhangBohan","html_url":"https://github.com/ZhangBohan","followers_url":"https://api.github.com/users/ZhangBohan/followers","following_url":"https://api.github.com/users/ZhangBohan/following{/other_user}","gists_url":"https://api.github.com/users/ZhangBohan/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhangBohan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhangBohan/subscriptions","organizations_url":"https://api.github.com/users/ZhangBohan/orgs","repos_url":"https://api.github.com/users/ZhangBohan/repos","events_url":"https://api.github.com/users/ZhangBohan/events{/privacy}","received_events_url":"https://api.github.com/users/ZhangBohan/received_events","type":"User","site_admin":false},"created_at":"2017-03-14T11:57:05Z","updated_at":"2017-03-14T11:57:05Z","body":"@nuschk ok, but it seems the maintainers is not focus on this product. 😭 "}}
{"actor":{"display_login":"ZhangBohan"}}