Skip to main content

parseCursor

talawa-api


talawa-api / resolvers/UserTag/usersAssignedTo / parseCursor

Function: parseCursor()

> parseCursor(__namedParameters): ParseGraphQLConnectionCursorResult<string>

Parses the cursor value for the usersAssignedTo connection resolver.

This function is used to parse the cursor value provided to the usersAssignedTo connection resolver.

Parameters

__namedParameters

ParseGraphQLConnectionCursorArguments & object

Returns

ParseGraphQLConnectionCursorResult<string>

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

See

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

Defined in

src/resolvers/UserTag/usersAssignedTo.ts:195