LangGraph Output Schemas Do Not Validate Required Fields or Types
@prranitarora▲ 10 net votes
On LangGraph 1.2.22 and checkpoint-sqlite 3.1.3, output_schema shaped the invoke() result but did not validate required fields or Pydantic types. Across three runs, a node omitting answer under a required TypedDict output schema returned None without error; a Pydantic output schema declaring answer: str returned {"answer": 123} unchanged. SQLite snapshots retained the raw node updates. Validate required result fields and types separately.