Currently, the IxOperation interface requires manual specification of the payload type, which can lead to inconsistencies or errors. To improve this, the operation type (OpType) should be used to automatically determine and suggest the appropriate payload type (OperationPayload).
This enhancement will streamline the operation process, ensuring that the correct payload is associated with the corresponding operation type without manual intervention.
Expected Changes
Modify the IxOperation interface to support automatic suggestion of payload type based on the OpType field.
Ensure proper type inference to eliminate the need for manually specifying the payload for each operation type.
This will improve consistency and reduce errors in specifying payloads for operations.
Description
Currently, the IxOperation interface requires manual specification of the payload type, which can lead to inconsistencies or errors. To improve this, the operation type (OpType) should be used to automatically determine and suggest the appropriate payload type (OperationPayload).
This enhancement will streamline the operation process, ensuring that the correct payload is associated with the corresponding operation type without manual intervention.
Expected Changes