Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[scim2-sdk-server] SearchRequest and DotSearchFilter not working together nicely #216

Open
andreim11 opened this issue Mar 8, 2024 · 1 comment
Assignees

Comments

@andreim11
Copy link

Given that DotSearchFilter converts POST /Users/.search into GET /Users with query params, the obvious approach is to only handle the GET endpoint. Problem is that I found no way of getting access to a SearchRequest model built from the query params. If I handle just the POST /Users/.search, it works out nicely mapping the json body to a SearchRequest model, however this does not work out well when filters are specified as query params

@kqarryzada kqarryzada self-assigned this Mar 29, 2024
@kqarryzada
Copy link
Collaborator

@andreim11, it's true that the SearchRequest model is not easily accessible once DotSearchFilter.filter() is invoked. Could you give some details about your use case and the problem you're trying to solve? Are you trying to interface with a particular product?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants