{"action":"opened","issue":{"url":"https://api.github.com/repos/jackc/pgx/issues/423","repository_url":"https://api.github.com/repos/jackc/pgx","labels_url":"https://api.github.com/repos/jackc/pgx/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/jackc/pgx/issues/423/comments","events_url":"https://api.github.com/repos/jackc/pgx/issues/423/events","html_url":"https://github.com/jackc/pgx/issues/423","id":323679602,"number":423,"title":"Why pgtype.Bool forbids setting to nil?","user":{"login":"tarikdemirci","id":2494262,"avatar_url":"https://avatars1.githubusercontent.com/u/2494262?v=4","gravatar_id":"","url":"https://api.github.com/users/tarikdemirci","html_url":"https://github.com/tarikdemirci","followers_url":"https://api.github.com/users/tarikdemirci/followers","following_url":"https://api.github.com/users/tarikdemirci/following{/other_user}","gists_url":"https://api.github.com/users/tarikdemirci/gists{/gist_id}","starred_url":"https://api.github.com/users/tarikdemirci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarikdemirci/subscriptions","organizations_url":"https://api.github.com/users/tarikdemirci/orgs","repos_url":"https://api.github.com/users/tarikdemirci/repos","events_url":"https://api.github.com/users/tarikdemirci/events{/privacy}","received_events_url":"https://api.github.com/users/tarikdemirci/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-16T15:45:33Z","updated_at":"2018-05-16T15:45:33Z","closed_at":null,"author_association":"NONE","body":"**Problem:**\r\nI can't set `Bool` type to `nil`. It returns `cannot convert <nil> to Bool` error.\r\n\r\nWhy is it not allowed? If there is no particular reason, I can contribute it with something similar to Int8.\r\nhttps://github.com/jackc/pgx/blob/master/pgtype/int8.go#L20\r\n\r\nExample code:\r\n```\r\nr := &pgtype.Bool{}\r\nerr := r.Set(nil)\r\nSo(err, ShouldBeNil)\r\n```"}}
{"actor":{"display_login":"tarikdemirci"}}