Skip to content

refactor(command): optimize CommandGateway and CommandResult #1806

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 31, 2025

Conversation

Ahoo-Wang
Copy link
Owner

  • Extract COMMAND_GATEWAY_FUNCTION as a constant
  • Update CommandMessage to use COMMAND_GATEWAY_FUNCTION instead of commandGatewayFunction()
  • Modify CommandResult to use COMMAND_GATEWAY_FUNCTION by default
  • Update tests to reflect the changes

- Extract COMMAND_GATEWAY_FUNCTION as a constant
- Update CommandMessage to use COMMAND_GATEWAY_FUNCTION instead of commandGatewayFunction()
- Modify CommandResult to use COMMAND_GATEWAY_FUNCTION by default
- Update tests to reflect the changes

Signed-off-by: Ahoo Wang <ahoowang@qq.com>
@Ahoo-Wang Ahoo-Wang added the enhancement New feature or request label Jul 31, 2025
@Ahoo-Wang Ahoo-Wang merged commit b63fa60 into main Jul 31, 2025
12 of 15 checks passed
@Ahoo-Wang Ahoo-Wang deleted the COMMAND_GATEWAY_FUNCTION branch July 31, 2025 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant