-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Currently only a mask of the type that is the same as the service can be added to a service. So if Account.getObject
is called, it uses Account.Mask
just fine, but if Account.getVirtualGuests
is called, it needs to be able to use Guest.Mask
. This is explained in http://sldn.softlayer.com/article/Object-Masks.
It would probably also be wise to error if a wrong mask is about to be used on a method, but this could introduce a slight backwards incompatibility if people are not used to the error appearing and they are just using it wrong anyways, but we are still at a 0-based major version.