Closed jonny7 closed 4 years ago
The property declaration when generating is correct.
var foreignKey: User
However the initializer is still using the table's underlying data type.
init(foreignKey: Int){ self.foreignKey = foreignKey // --> Cannot assign value of type 'int' to type 'User' }
The property declaration when generating is correct.
However the initializer is still using the table's underlying data type.