Mongoose : "Variable requires type-hint or initialization" using schemaOptions
Hello',
Thanks for your project, you bring to us an usefull set of tools.
After updating to haxe 4, a lot of things seem to be broken. I resolved some of them but I didn't resolve the following error below:
"Variable requires type-hint or initialization"
That happened just by declaring a Model:
@:schemaOptions({autoIndex: true})
class Leaderboard extends Model<LeaderboardData>{}
Do you have any Idea?
Thanks in advance,
Théo Sabattié
Hi @TheoSabattie The issue seems related to https://github.com/clemos/haxe-js-kit/issues/179 The problem is most probably in the same macro. Unfortunately I have no time to look into it at the moment.
Hi @clemos ,
Thanks for your answer.
I hope that you will get time to make it works again.
Good luck for your current things.