Members
types :Array.<String>
A getter that retrieves the array of direct types
- Source:
Type:
-
Array.<String>
Methods
applyTags(Class, addTags, fieldName, descriptor)
When applying multiple property getters and setters, knowing some info
about what was applied elsewhere can be important. "Tags" can be applied
that store the fieldName and descriptor applied via one of these decorators.
Multiple "tags" are supported to allow for detecting the difference between
decorators applied by the developer using lattice and something auto
generated such as auto-props.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
Class |
GQLBase
|
an instance of GQLBase to apply the tags tp |
addTags |
Array.<(string|Symbol)>
|
an array of Symbols or strings to be |
fieldName |
string
|
the name of the field being decorated |
descriptor |
Object
|
the JavaScript descriptor object to associate |