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

Create api #322

Merged
merged 25 commits into from
Nov 28, 2024
Merged

Create api #322

merged 25 commits into from
Nov 28, 2024

Conversation

Jenselme
Copy link
Owner

@Jenselme Jenselme commented Nov 24, 2024

Close #318

We switched to Pydantic.
This is to validate what we can with Pydantic. This is better (and probably safer) than relying on a custom validation. It will also match the fact that we will rely on Pydantic for our REST API.
- Correct how we use Pydantic in model validation
- Correct how we serialize Pydantic models
We can list articles.

See #318
We also correct some behaviors.

See #318
@Jenselme Jenselme merged commit 5402f11 into main Nov 28, 2024
3 checks passed
@Jenselme Jenselme deleted the create-api branch November 28, 2024 21:18
Jenselme added a commit that referenced this pull request Nov 28, 2024
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.

Create an API
1 participant