Skip to content

Domain objects are not created properly from proto file #9

@0x-shanks

Description

@0x-shanks

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions