-
Notifications
You must be signed in to change notification settings - Fork 12
Description
The docs state that specifying null for imp_user means that no impersonation is done. however when I send
"\xB1\x11\xA8\x89""bookmarks\x90\x82""db\x80\x88imp_user\x80\x84mode\x81w\xD0!notifications_disabled_categories\x90\xD0\x1Enotifications_minimum_severity\x84NONE\x8Btx_metadata\xA0\x8Atx_timeout\xCB\x00\x00\x00\x00\x00\x00\xEA`"
where imp_user is an empty string the server returns Cannot impersonate user ''
when I specify NULL like in"\xB1\x11\xA8\x89""bookmarks\x90\x82""db\x80\x88imp_user\x00\x84mode\x81w\xD0!notifications_disabled_categories\x90\xD0\x1Enotifications_minimum_severity\x84NONE\x8Btx_metadata\xA0\x8Atx_timeout\xCB\x00\x00\x00\x00\x00\x00\xEA`"
I get this
Illegal value for field "imp_user": Expected string
a similar problem exists for db,
when I send the empty string, it works (no error) but when I send NULL I get
Illegal value for field "metadata": Illegal value for field "db": Expected string