Protocol
GlobalExternalSymbolResolver
A type that resolves symbol identifiers for symbols in all non-local modules.
protocol GlobalExternalSymbolResolver
Discussion
Use this protocol to integrate symbol documentation content from other sources. Your implementation needs to be able to:
If a symbol in a symbol graph file references a symbol in another module—for example, when the symbol conforms to a protocol from another module, when the symbol inherits from a class in another module, or the symbol has arguments or return values that are types from other modules—then this resolver is used to look up those symbols by their unique identifier. This allows references in symbol declarations to be turned into links for external symbols, just like in-bundle symbol references.
Because symbol identifiers don’t specify what bundle the symbol belongs to, a documentation context can only have one global external symbol resolver.