Skip to content

AddLogEntryAction is not deterministic #580

@Dassderdie

Description

@Dassderdie

The uuid is created in the reducer.

        reducer: (draftState, { name, message }) => {
            const logEntry = EocLogEntry.create(
                draftState.currentTime,
                message,
                name
            );
            draftState.eocLog.push(cloneDeepMutable(logEntry));
            return draftState;
        },
export class EocLogEntry {
    @IsUUID(4, uuidValidationOptions)
    public readonly id: UUID = uuid();

We could either send the id with the action or scrap the id all together.

Metadata

Metadata

Assignees

No one assigned

    Labels

    LegacyIssues that were created by the 2021 BPbugSomething isn't workingsharedIssues mainly related to shared

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions