octoposprime / op-be-auth

OctopOS Prime Backend Authorization and Authentication Service
http://www.octoposprime.com
MIT License
5 stars 0 forks source link

Remove User Ports from Command and Query Interfaces #31

Closed Feyzanrs closed 5 months ago

Feyzanrs commented 5 months ago

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

// 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:
```go
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.