export class PlayerModule {
async list(state: mage.core.IState) {
const players = await Player.list(state, {});
console.log(players);
return players;
}
}
The validation of the return value players makes classValidator.validate crash, and I don't know where it could come from.
I don't think it comes from my topic because I can correctly create data with it using @Acl and validation decorators.