Skip to content

Allow masks of all types to be added to a service #19

@cretz

Description

@cretz

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions