Skip to content

Add operation hashCode to OperationResult #19

@pgajek2

Description

@pgajek2

Is your feature request related to a problem? Please describe.
operationId can be useful for debugging purpose.

Describe the solution you'd like
Add operationId to the OperationResult interface.

global interface OperationResult {
	// Metadata
	DML.OperationType operationType();
	Schema.SObjectType objectType();
        String operationId; // <==== operation hashCode
	Boolean hasFailures();
	// Errors
	List<Error> errors();
	// Records
	List<SObject> records();
	List<SObject> successes();
	List<SObject> failures();
	// Details
	List<RecordResult> recordResults();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions