mongo-haxe-driver icon indicating copy to clipboard operation
mongo-haxe-driver copied to clipboard

No need for cursorId to ever be null?

Open kickscondor opened this issue 10 years ago • 0 comments

This is a change I made to fix a bug I was seeing when using hxcpp to compile this mongodb driver. The error was something like "no 'get' method on the 'Dynamic' cursorId" in Cursor.hx. I'm unfamiliar with hxcpp's source, so I looked into the Cursor.hx and couldn't see a reason why cursorId was typed Null<Int64> since Protocol::response returns only Int64.

I'll work on sorting out a fix for hxcpp as well. Huge thanks for this project!!

kickscondor avatar Jul 11 '15 00:07 kickscondor