limosa-io / laravel-scim-server

SCIM 2.0 Server implementation for Laravel
MIT License
51 stars 29 forks source link

Added new ability to override resource query builder #32

Closed dmyers closed 2 years ago

dmyers commented 2 years 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 2 years 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 2 years ago

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

dmyers commented 2 years ago

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