Skip to content

Commit

Permalink
import a map
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Selman <[email protected]>
  • Loading branch information
dselman committed Oct 19, 2023
1 parent 5fe1849 commit fb7e41d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 1 addition & 6 deletions test/codegen/fromcto/data/model/hr.cto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace [email protected]

import [email protected].{Address, State, SSN, Time}
import [email protected].{Address, State, SSN, Time, EmployeeTShirtSizes}

map CompanyProperties {
o String
Expand All @@ -22,11 +22,6 @@ map EmployeeProfiles {
o Concept
}

map EmployeeTShirtSizes {
o SSN
o TShirtSizeType
}

map EmployeeDirectory {
o SSN
o Employee
Expand Down
5 changes: 5 additions & 0 deletions test/codegen/fromcto/data/model/hr_base.cto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ enum TShirtSizeType {
o LARGE
}

map EmployeeTShirtSizes {
o SSN
o TShirtSizeType
}

concept Address {
o String street
o String city
Expand Down

0 comments on commit fb7e41d

Please sign in to comment.