kapow
kapow copied to clipboard
Default values for the Route entity must be set on the create/insert handler as the server has all the information needed to do so
https://github.com/BBVA/kapow/blob/be6a2efcc49d9e33cd215f79c04531ceb89b6d32/internal/cmd/route.go#L49
@hhurtado suggest also that the server should provide some form of validation. We should create a ticket for that, to be discussed.
Duplicate of #37. Will continue here, since we have more context now.
@hhurtado dixit:
The default values for the Route entity must be set on the create/insert handler as the server has all the information needed to do so
Rewrite Issue tittle. The task is to move the default values from the cmd module to the server/control module