This repository has been archived by the owner on Apr 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Can't convert to JSON #13
Comments
Thanks for catching this. That part of the code was untested and carried over from a very old version of granite orm. Now you should be able to call |
That's good to know, thank you! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After calling
#to_json
on a query result, i get an error:no overload matches 'BSON::ObjectId#to_json' with type JSON::Builder
Am I doing something wrong or is this functionality not supported?
Disclaimer: I'm new to Crystal and Amber.
The text was updated successfully, but these errors were encountered: