AlwaysCreateEntityResolver

Unconditionally mints a fresh NewEntity for every suggestion.

Because it never consults any repository, the IDs it mints will never match existing graph nodes — every mention becomes a brand-new entity. This makes it suitable only for development, tests, and one-off seeding of an empty store.

For any flow where mentions must be matched against already-persisted entities (i.e. anything resembling production), use EscalatingEntityResolver instead.

Functions

Link copied to clipboard
open override fun resolve(suggestedEntities: SuggestedEntities, schema: <Error class: unknown class>): Resolutions<SuggestedEntityResolution>

For each of the given entities, resolve them to either an existing entity or a new entity.