Right now the ObjectId class is not JSON serializable -- but the frontend is based on the fact that the id of an object is available (so that it can perform searches and fetches)!
Either use a class for the object-to-JSON conversion or override a method of that class or find another standard way to deal with this.
Right now the
ObjectId
class is not JSON serializable -- but the frontend is based on the fact that the id of an object is available (so that it can perform searches and fetches)!Either use a class for the object-to-JSON conversion or override a method of that class or find another standard way to deal with this.