andywer / andywer/squid

64 bit numbers come back as strings even if defined with Schema.Number

Aperta
#36 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
157
Fork
7
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I've got some 64 bit IDs in my system that I've defined in my schema as a `Schema.number`. However, when I dump the objects out that are being returned from queries they are strings. I understand why this is and it makes sense, but it would be nice to get an error from postguard or somewhere. Right now the types aren't accurate and that's confusing.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.