Anton Davydov

Results 80 comments of Anton Davydov

Hello! I think you need to create PR with this adapter :)

thanks for help! About suggestions: no idea. We can create some matchers for abilities and roles, WDYT? Also, we can check pundit or cancancan projects for inspiration 🤔

After #15: - [x] allow #permit to take ability name + payload for testing. Something like this: ```ruby expect(subject).not_to permit('post.edit', user, post) ``` - [x] Update README file and add...

@berniechiu not sure that I understand correct, could you explain little bit more why you want to use `Struct`?

hey! I don't have any `register_scope` methods right now and I'm not sure that this logic should be in the core (but I can imagine a `scope` plugin for kan)....

Also, I get an idea to introduce `data_source`. I see it like this (it's just a draft to explain my idea): ```ruby module Post class BaseDataSource include Kan::DataSource role(:base) {...

cc @IvanShamatov @apotonick

🎉 I think, next step for meta is understand what API we want to see in containers and how to store all this data. **Aliases**: Just my idea but it...

hey, have no idea now. But this first thing from my brain: we can use magic comments for set setting 🤔