Merge a user-supplied SvelteComponentResolver on top of
the headless resolver. Mirrors core/renderer.ts's
mergeResolvers for the Svelte-flavoured resolver shape — user
values win, fallback fills gaps.
Implemented directly rather than delegating to the generic
mergeResolvers because the latter is typed against
ComponentResolver — the React-flavoured resolver whose values
are typed RenderFunction\<unknown, RenderProps\>. The per-key
behaviour is identical: each
RESOLVER_KEYS entry is taken from user if defined,
otherwise from fallback. The single source of truth on which
keys exist is RESOLVER_KEYS, so adding a new
WalkedField variant in core/types.ts automatically threads
through the Svelte merge.
Merge a user-supplied SvelteComponentResolver on top of the headless resolver. Mirrors
core/renderer.ts'smergeResolversfor the Svelte-flavoured resolver shape — user values win, fallback fills gaps.Implemented directly rather than delegating to the generic
mergeResolversbecause the latter is typed againstComponentResolver— the React-flavoured resolver whose values are typedRenderFunction\<unknown, RenderProps\>. The per-key behaviour is identical: each RESOLVER_KEYS entry is taken fromuserif defined, otherwise fromfallback. The single source of truth on which keys exist is RESOLVER_KEYS, so adding a newWalkedFieldvariant incore/types.tsautomatically threads through the Svelte merge.