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

Add possibility to react to content filter violation #192

Merged
merged 4 commits into from
Jan 13, 2025

Conversation

OskarStark
Copy link
Contributor

@OskarStark OskarStark commented Jan 6, 2025

I am unsure about the logic, as this structure is only working for OpenAPI:
CleanShot 2025-01-06 at 13 53 44@2x

Any ideas @chr-hertel ?

@OskarStark OskarStark self-assigned this Jan 6, 2025
@OskarStark OskarStark added the enhancement New feature or request label Jan 6, 2025
@OskarStark OskarStark requested a review from chr-hertel January 6, 2025 12:54
@chr-hertel
Copy link
Member

hmm, maybe this is a good argument to go down the road of $response->toArray(false) in the ResponseConverter instead of throwing ClientException?

@OskarStark
Copy link
Contributor Author

Yes why not

@OskarStark
Copy link
Contributor Author

I pushed an update, is this what you had in mind? Code untested right now

@chr-hertel chr-hertel merged commit bbd06dc into main Jan 13, 2025
7 checks passed
@chr-hertel chr-hertel deleted the feature/exception branch January 13, 2025 12:23
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

Successfully merging this pull request may close these issues.

2 participants