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

use enum values and fix fields pydantic validation #200

Merged
merged 2 commits into from
Feb 18, 2025

Conversation

vincentsarago
Copy link
Member

This PR does:

  • fix validation issue when fields extension is enable for /items endpoint (return JSONResponse to avoid pydantic validation)
  • use Relation enum value for POST Links (to match links for GET)
  • avoid re-using post_search method to ease customization (mostly because we don't want to have to deal with a possible JSONReponse from the post_search method

@vincentsarago vincentsarago merged commit a2fb77f into main Feb 18, 2025
7 checks passed
@vincentsarago vincentsarago deleted the patch/relation-values-and-JSONResponse branch February 18, 2025 16:30
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

Successfully merging this pull request may close these issues.

2 participants