FieldRecordMerger

A convenience implementation of RecordMerger that simplifies the merging of Records by delegating to a FieldMerger.

Constructors

Link copied to clipboard
constructor(fieldMerger: FieldRecordMerger.FieldMerger)

Types

Link copied to clipboard
data class FieldInfo(val value: Any?, val metadata: Map<String, ApolloJsonElement>)
Link copied to clipboard
interface FieldMerger

Used to merge Records field by field.

Functions

Link copied to clipboard
open override fun merge(existing: Record, incoming: Record): Pair<Record, Set<String>>

Merges the incoming Record with the existing Record.