Shivansh Yadav

Results 60 comments of Shivansh Yadav

I have not used this adapter before, but maybe you need to use the trick written in the test: https://github.com/node-casbin/typeorm-adapter/blob/master/test/existent-connection-adapter.test.ts https://github.com/node-casbin/typeorm-adapter/blob/db31e4e32e9e6664efa515d0700043e960bf6664/test/existent-connection-adapter.test.ts#L55

@meodemsao you can try [ReactAuthz](https://github.com/casbin-js/react-authz), [Casbin-core](https://github.com/casbin/casbin-core), [Casbin.js](https://github.com/casbin/casbin.js), node-casbin is not really for frontend javascript

> This looks like a dependency issue, @Shivansh-yadav13 Could you work on this? Ohk, I'll look into it.

@nodece @meodemsao I feel the code is running in browser, that's why we are getting this error, do you think there could be a bug or dependency error?

> Because I use the minimatch instead of the picomatch. @nodece should we do that in node-casbin also?

@vaseala there is no conflict like keywords, but found a bug which is causing this whenever a word ends with `r` or `p` like you said `attr` and `user`. Thanx...

> @Shivansh-yadav13 plz implement it in Node-Casbin Ok.

Hello, I would like to contribute if no one is already working on this.

@christyjacob4 I have implemented this function can I make a PR?