Comments (1)
As the original maintainer of this repo, I'll provide a little context and info here.
I no longer have write access to this repository. This was created based on an internal need for a long-term project I was working on at @BlinkUX. But I left more than a year ago now and when I did, I tried to pass on ownership of this repo, but they had not hired a replacement before I left so it is likely information and context here was lost.
That said, this was originally written against sequelize v3 before v4 or v5 came out and as such is wildly out of date. Also, as much as I would like to say this is a solid foundation, I don't believe it is anymore. The rewrite between v3 and v4 of sequelize was significant under the hood, which required quite a bit of work based on how this mocking worked (Model/Instance code being the biggest effort, the last time I checked). And I haven't used sequelize in a while, but I imagine v5 may have been a similar large block of changes.
If @BlinkUX were willing to pass on maintainership to someone else, it'll likely be a fairly sizeable undertaking to convert this all the way up to v5 support. There are a few tedious tasks that I think could be saved from having to redo with using this as a base, but this code was written in a different era.
Either way, I likely don't have time to do much contributions to coding to help get this up to par, but in whatever the path forward is, I'm happy to provide whatever context and information I can to help this project succeed.
from sequelize-mock.
Related Issues (20)
- SequelizeMockEmptyQueryQueueError: No query results are queued. Unexpected query attempted to be run
- SequelizeMock as a drop-in replacement
- Feature Request - Model.findByPk HOT 1
- findOrCreate returns an Array of Instances intead of just one Instance
- jest not working with sequelize model with associations using sequelize-mock HOT 3
- jest not working with sequelize model with associations using sequelize-mock HOT 6
- Is it possible to define class level methods?
- Mock model definition is not strict
- destroy and findOne returning all instances
- Models sometimes return columns as anonymous functions instead of the actual values
- BelongsTo without 'get' prefix
- Support v5 HOT 1
- fulfilling rawQuery from mock database HOT 1
- transaction commit/rollback/LOCK/afterCommit
- Returning NaN when use sequelize.fn("count")
- Is this library compatible with models defined by Sequelize-Typescript? HOT 1
- TypeError: this.sequelize.runHooks is not a function HOT 1
- Broken link
- with mock model tableAttributes undefined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sequelize-mock.