Skip to main content

parseCursor

talawa-apiDocs


talawa-api / resolvers/Organization/userTags / parseCursor

Function: parseCursor()

> parseCursor(__namedParameters): ParseGraphQLConnectionCursorResult<string>

Parses the cursor value for the userTags connection resolver.

This function is used to parse the cursor value for the userTags connection resolver.

Parameters

__namedParameters: ParseGraphQLConnectionCursorArguments & object

Returns

ParseGraphQLConnectionCursorResult<string>

An object containing the parsed cursor value or an array of errors if the cursor is invalid.

See

  • OrganizationTagUser - The OrganizationTagUser model used to interact with the user tags collection in the database.
  • DefaultGraphQLArgumentError - The type definition for the default GraphQL argument error.
  • ParseGraphQLConnectionCursorArguments - The type definition for the arguments of the parseCursor function.
  • ParseGraphQLConnectionCursorResult - The type definition for the result of the parseCursor function.

Defined in

src/resolvers/Organization/userTags.ts:121