limosa-io / laravel-scim-server

SCIM 2.0 Server implementation for Laravel
MIT License
47 stars 28 forks source link

Added new ability to override resource query builder #32

Closed dmyers closed 1 year ago

dmyers commented 1 year ago

This change allows setting up the SCIMConfig like this:

return ['query' => User::withTrashed()];

Which I needed to be able to map active in the schema to my deleted_at model and still support activation/deactivation updates.

I tested without the query and with it null (default) and everything still works as expected.

dmyers commented 1 year ago

Sorry to keep bugging @arietimmerman. I ran into one last thing I needed for my implementation if you get time to take a look. Appreciate all the help and happy holidays my friend!

arietimmerman commented 1 year ago

I see the problem and the solution. If you can take a look at my comment I'll merge it in.

dmyers commented 1 year ago

Sounds good. That works for me too. Thanks @arietimmerman