testTag
Extension function to add a TestTag to a Marker.
This function is used to attach a TestTag to a Marker, which can then be passed to query, mutation, or subscription operations to identify them for mocking in test and preview environments.
Usage example:
val testTag = MyQueryTestTag()
val marker = Marker.testTag(testTag)
val query = client.getQuery(queryKey, marker)
Content copied to clipboard
Return
A new Marker with the TestTag attached
Parameters
value
The TestTag to attach to the Marker