Sergii Stotskyi

Results 239 comments of Sergii Stotskyi

I don’t plan to create a core package for sequelize as it looks like that project is dying slowly. Instead I plan to add support for [objection.js](https://vincit.github.io/objection.js/) or/and [mikroORM](https://b4nan.github.io/mikro-orm/)

Probably I used to loud word “dying”). This is just my opinion after working with sequelize for half a year this is the list of what I don’t like in...

Some time ago I [commented in sequelize repo on replacement of string based operators with symbol based](https://github.com/sequelize/sequelize/issues/10820#issuecomment-501959070) It’s ridiculous, I said that Symbols don't fix the problem, they agreed and...

No progress for now. But have some thoughts: 1. The best way to start is to integrate with knex 2. MikroORM supports knex, so it should work with knex integration...

So, to start we need a function `rulesToKnexQuery(ability, action, subject, options)`. `options` object should contain a property `isRelation: (prop, subjectType, subject) => boolean`. This function returns `true` or `false` if...

As a separate package. @casl/knex

I’ll create a folder for it and prepare the infrastructure code **update**: it would be awesome if We could create this together :)

> Sure, let me know when you want to chat. @otaviosoares sent you an email with instructions and created infra code for casl-knex in feat/knex branch

Waiting for the feedback from @crcn in https://github.com/crcn/sift.js/issues/202

Guys, is here anybody want to help to integrate casl with sequelize? **P.S.:** I created a new library called [ucast](https://github.com/stalniy/ucast) which can help to do this without efforts. This library...