flask-pymongo
flask-pymongo copied to clipboard
Change in Flask api - JSONProvider interface replaces JSONEncoder
Hi, Please note that Flask API has evolved towards JSONProvider interface, replacing previous JSONEncoder/Decoder interfaces. See: https://github.com/pallets/flask/pull/4692. IMO this will require a change in Flask-Pymongo as well.
You may also track related changes to Quart-Motor extension which was closely inspired from Flask-Pymongo - see https://github.com/marirs/quart-motor/issues/4.