andywer / andywer/squid

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

Đang mở
#36 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
157
Fork
7
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.