Graph search · GraphQL type

GraphSearchAutocompleteReplacement type

The replacement for the query string to use when an autocomplete option is selected by the user.

Fields

Field Name Description
text - String! The replacement query string. This string should completely replace the existing query string.
position - Int! The new position or offset of the cursor in the replacement text counting UTF-8 characters (runes).

Used by

Example

Example

{"text": "xyz789", "position": 987}