Open j opened 6 years ago
We could not return promises by default for queries because queries chain methods together to build the query. We could do this for methods in the Session that do not support chaining (e.g. not for find
). However, it would be a breaking change.
Now that promises are heavily supported (esp. by anyone using decorators), can they be returned by default?
This should also happen in the Session. I'd like to await a flush/save/any persistence.