From f477655e5fd1ab9ead05ce51e372053385fc8d72 Mon Sep 17 00:00:00 2001 From: Collins Date: Thu, 2 May 2024 07:54:38 +0100 Subject: [PATCH] Fix typo Fix typo in Section 19: SQL-first, Pydantic-second --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c20214..8255049 100644 --- a/README.md +++ b/README.md @@ -837,7 +837,7 @@ async def get_creator_posts(creator: Mapping = Depends(valid_creator_id)): return posts ``` -If an aggregated data form DB is a simple JSON, then take a look at Pydantic's `Json` field type, +If aggregated data from the DB is a simple JSON, then take a look at Pydantic's `Json` field type, which will load raw JSON first. ```python from pydantic import BaseModel, Json