Skip to content

Commit

Permalink
fix: alias issue on main (#944)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesbillman authored Feb 15, 2024
1 parent ee0010d commit fc305a3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions backend/schema/field.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ func (f *Field) String() string {

func (f *Field) ToProto() proto.Message {
return &schemapb.Field{
Pos: posToProto(f.Pos),
Name: f.Name,
Type: typeToProto(f.Type),
Comments: f.Comments,
Alias: f.JSONAlias,
Pos: posToProto(f.Pos),
Name: f.Name,
Type: typeToProto(f.Type),
Comments: f.Comments,
JsonAlias: f.JSONAlias,
}
}

Expand All @@ -57,6 +57,6 @@ func fieldToSchema(s *schemapb.Field) *Field {
Name: s.Name,
Comments: s.Comments,
Type: typeToSchema(s.Type),
JSONAlias: s.Alias,
JSONAlias: s.JsonAlias,
}
}

0 comments on commit fc305a3

Please sign in to comment.