You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@gravataLonga I assume you can treat it like an implementation of a database "unique" constraint. Although this logic can be represented in the "Domain" layer too to make it obvious from the beginning.
It's me or this is bussiness logic and cannot be here.
https://github.com/katzien/go-structure-examples/blob/master/domain-hex-actor/pkg/storage/json/repository.go#L53-L59
To my own understand bussiness logic must be inside of "Domain" layer. This a mess or a missing something?
The text was updated successfully, but these errors were encountered: