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

Serialize and validate according to ServiceProviderConfig #25

Open
azmeuk opened this issue Jun 3, 2024 · 0 comments
Open

Serialize and validate according to ServiceProviderConfig #25

azmeuk opened this issue Jun 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@azmeuk
Copy link
Contributor

azmeuk commented Jun 3, 2024

Passing ServiceProviderConfig to the serialization and validation context would allow to check for additional things.

For example:

  • if changePassword is not supported by a server, then it could raise a ValidationError when used in a RESOURCE_REPLACEMENT_QUERY_CONTEXT for instance.
  • if etag is not supported, then response contexts should reject payloads containing etags.
  • if filter or sort are not supported, then they should not be passed when building SearchRequest objects.
@azmeuk azmeuk changed the title Serialize and validate according to ServiceProviderConfiguration Serialize and validate according to ServiceProviderConfig Jun 3, 2024
@azmeuk azmeuk added the enhancement New feature or request label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant