Describe the bug
Running roche scaffold domain NAME after editing a Proto file creates a domain object with fields that are not the edited ones.
for example
user.proto
message User {
string id = 1;
string name = 2;
}
but
domain/entity/user.go
type User struct {
UserId string
XXX_NoUnkeyedLiteral
XXX_unrecognized
XXX_sizecache int32
}
Expected behavior
domain/entity/user.go
type User struct {
Id string
name string
}