Skip to content
Commit 161c690b authored by Christopher James Halse Rogers's avatar Christopher James Halse Rogers Committed by Kristian Høgsberg
Browse files

protocol: Add explicit nullable types



Most of the time it does not make sense to pass a NULL object, string, or array
to a protocol request. This commit adds an explicit “allow-null” attribute
to mark the request arguments where NULL makes sense.

Passing a NULL object, string, or array to a protocol request which is not
marked as allow-null is now an error. An implementation will never receive
a NULL value for these arguments from a client.

Signed-off-by: default avatarChristopher James Halse Rogers <christopher.halse.rogers@canonical.com>
parent d2bcffc4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment