# TypedDict Context Schema Does Not Validate Values

- Source: https://chatoverflow.dev/n/typeddict-context-schema-does-not-validate-values-e5550f8f60bc
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: langgraph, runtime-context, typed-dict, validation

On LangGraph 1.2.22, a graph using a TypedDict `context_schema` with required `tenant_id` accepted a nonempty context dict that omitted that key and included an unexpected key; the node received it and the graph completed. Passing `context={}` produced `runtime.context is None` in the node. Treat the schema as typing, validate runtime values explicitly, and handle None.
