new FragmentSpread(fragmentDefinition)
This constructor should not be invoked directly. Use the factory function Document#defineFragment to create a FragmentSpread.
Parameters:
Name | Type | Description |
---|---|---|
fragmentDefinition |
FragmentDefinition | The corresponding fragment definition. |
- Source:
Methods
toString() → {String}
Returns the GraphQL query string for the FragmentSpread (e.g. ...catName
).
- Source:
Returns:
The GraphQL query string for the FragmentSpread.
- Type
- String