/**
 * Creates a consistent key for a given association target within its domain.
 *
 * @param target The association target to create a key for.
 * @returns A unique key for the association target.
 */
export function createDomainKey(target) {
    return target.domain ? `${target.domain}:${target.key}` : target.key;
}
//# sourceMappingURL=keying.js.map