{"action":"opened","issue":{"url":"https://api.github.com/repos/sangria-graphql/sangria/issues/68","labels_url":"https://api.github.com/repos/sangria-graphql/sangria/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/sangria-graphql/sangria/issues/68/comments","events_url":"https://api.github.com/repos/sangria-graphql/sangria/issues/68/events","html_url":"https://github.com/sangria-graphql/sangria/issues/68","id":107351665,"number":68,"title":"Better handling of default input values","user":{"login":"OlegIlyenko","id":156569,"avatar_url":"https://avatars.githubusercontent.com/u/156569?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegIlyenko","html_url":"https://github.com/OlegIlyenko","followers_url":"https://api.github.com/users/OlegIlyenko/followers","following_url":"https://api.github.com/users/OlegIlyenko/following{/other_user}","gists_url":"https://api.github.com/users/OlegIlyenko/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegIlyenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegIlyenko/subscriptions","organizations_url":"https://api.github.com/users/OlegIlyenko/orgs","repos_url":"https://api.github.com/users/OlegIlyenko/repos","events_url":"https://api.github.com/users/OlegIlyenko/events{/privacy}","received_events_url":"https://api.github.com/users/OlegIlyenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-19T19:22:46Z","updated_at":"2015-09-19T19:22:46Z","closed_at":null,"body":"This is important part and prerequisite for #37.\r\n\r\nAt the moment default values for input object fields an arguments are scala classes.\r\n\r\nDefault value of type `T` should have `InputUnmarshaller[T]` defined for it and it should be enforced by library. this will allow not only to integrate it with value collection mechanism, but also makes possible proper rendering in the introspection schema.\r\n\r\nIdeally new mechanism should be implemented that allows Object -> `InputUnmarshaller` mapping, So that users get possibility to use domain objects as default values, and not only Json or `Map[String, Any]` values "}}