AssignRefMutation
Assign a ref to an object field
Extends
Constructors
new AssignRefMutation()
new AssignRefMutation(
obj
,field
,value
):AssignRefMutation
Parameters
• obj: Obj
• field: string
• value: null
| Obj
Returns
Overrides
Source
Properties
field
field:
string
Source
newValue
newValue:
null
|Obj
Source
obj
obj:
Obj
Source
oldValue
oldValue:
Obj
Source
type
type:
string
Inherited from
Source
Methods
apply()
apply(
store
):void
Parameters
• store: Store
Returns
void
Overrides
Source
toJSON()
toJSON():
object
Returns
object
field
field:
string
newValue
newValue:
null
|Obj
objId
objId:
string
oldValue
oldValue:
Obj
op
op:
string
Overrides
Source
unapply()
unapply(
store
):void
Parameters
• store: Store
Returns
void