{"action":"created","issue":{"url":"https://api.github.com/repos/ckimes89/graphql-net/issues/26","repository_url":"https://api.github.com/repos/ckimes89/graphql-net","labels_url":"https://api.github.com/repos/ckimes89/graphql-net/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/ckimes89/graphql-net/issues/26/comments","events_url":"https://api.github.com/repos/ckimes89/graphql-net/issues/26/events","html_url":"https://github.com/ckimes89/graphql-net/issues/26","id":149003127,"number":26,"title":"Handle (non-)nullability","user":{"login":"ckimes89","id":1936066,"avatar_url":"https://avatars.githubusercontent.com/u/1936066?v=3","gravatar_id":"","url":"https://api.github.com/users/ckimes89","html_url":"https://github.com/ckimes89","followers_url":"https://api.github.com/users/ckimes89/followers","following_url":"https://api.github.com/users/ckimes89/following{/other_user}","gists_url":"https://api.github.com/users/ckimes89/gists{/gist_id}","starred_url":"https://api.github.com/users/ckimes89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckimes89/subscriptions","organizations_url":"https://api.github.com/users/ckimes89/orgs","repos_url":"https://api.github.com/users/ckimes89/repos","events_url":"https://api.github.com/users/ckimes89/events{/privacy}","received_events_url":"https://api.github.com/users/ckimes89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-17T22:38:44Z","updated_at":"2016-04-17T22:41:35Z","closed_at":null,"body":"At some point we'll need to support defining whether a field or argument is nullable or non-nullable. As for now, a decent starting point will just be forcing the nullability to match the CLR type's nullability. So nullable for classes, non-nullable for structs except `Nullable<T>`.\r\n\r\nThis isn't a long-term solution, since multiple ORMs support non-nullable relationships (e.g. Entity Framework with `int SomethingId` foreign keys). Also it would be nice to allow non-nullable arguments that map to a CLR class type."},"comment":{"url":"https://api.github.com/repos/ckimes89/graphql-net/issues/comments/211125133","html_url":"https://github.com/ckimes89/graphql-net/issues/26#issuecomment-211125133","issue_url":"https://api.github.com/repos/ckimes89/graphql-net/issues/26","id":211125133,"user":{"login":"ckimes89","id":1936066,"avatar_url":"https://avatars.githubusercontent.com/u/1936066?v=3","gravatar_id":"","url":"https://api.github.com/users/ckimes89","html_url":"https://github.com/ckimes89","followers_url":"https://api.github.com/users/ckimes89/followers","following_url":"https://api.github.com/users/ckimes89/following{/other_user}","gists_url":"https://api.github.com/users/ckimes89/gists{/gist_id}","starred_url":"https://api.github.com/users/ckimes89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckimes89/subscriptions","organizations_url":"https://api.github.com/users/ckimes89/orgs","repos_url":"https://api.github.com/users/ckimes89/repos","events_url":"https://api.github.com/users/ckimes89/events{/privacy}","received_events_url":"https://api.github.com/users/ckimes89/received_events","type":"User","site_admin":false},"created_at":"2016-04-17T22:41:35Z","updated_at":"2016-04-17T22:41:35Z","body":"Support for changing nullability of a field will depend on #17."}}