Skip to content
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

Remove User Ports from Command and Query Interfaces #31

Closed
Feyzanrs opened this issue May 19, 2024 · 0 comments
Closed

Remove User Ports from Command and Query Interfaces #31

Feyzanrs opened this issue May 19, 2024 · 0 comments
Assignees
Labels
Be Be Team medium-priority Important issues to be addressed soon refactor Improvements or restructuring of existing functionality

Comments

@Feyzanrs
Copy link
Member

We need to remove the UserCommandPort and UserQueryPort entries from the command and query port interfaces within the presentation layer.

Files to Update:

internal/application/presentation/port/command/command.go

  • After Change:
package application

// CommandPort is a port for Hexagonal Architecture Pattern.
// It is used to communicate with the application layer.
type CommandPort interface {
    LoggingCommandPort
    AuthenticationCommandPort
}

Files to Update:

`internal/application/presentation/port/query/query.go``

  • After Change:
package application

// QueryPort is a port for Hexagonal Architecture Pattern.
// It is used to communicate with the application layer.
type QueryPort interface {
}

The changes will be merged into the first/hsm/1/create-first branch first. Therefore, set the base branch of the pull request as first/hsm/1/create-first.

@Feyzanrs Feyzanrs added medium-priority Important issues to be addressed soon refactor Improvements or restructuring of existing functionality labels May 19, 2024
@octopos-prime octopos-prime added the Be Be Team label May 19, 2024
@Smnrgcl Smnrgcl closed this as completed May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Be Be Team medium-priority Important issues to be addressed soon refactor Improvements or restructuring of existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants