toGraphQLReactionSurrogate

Converts a node-hosted Reaction to a ReactionSurrogate.

Return

a ReactionSurrogate for this Reaction

Parameters

host

the node whose reaction collection owns this reaction


Converts a NodeReaction to a ReactionSurrogate.

Return

a ReactionSurrogate for this NodeReaction