Skip to content

support custom fingerprint generation #4

Description

@mahendraHegde

currently fingerprint is generated based on body, it should be customisable.
current logic:

private getFingerPrint(
req: IdempotencyParamsWithDefaults,
): string | undefined {
return req.body ? this.hash(req.body) : undefined;
}

similar to skipRequest add an option to generate fingerprint and use the option or default(current approach) for fingerprint generation.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions