{"record":{"id":"12956f3359c0bfc6","repo":"langchain-ai/langgraph","slug":"config-schema-is-deprecated-and-will-be-removed-12956f","errorCode":null,"errorMessage":"`config_schema` is deprecated and will be removed. Please use `context_schema` instead.","messagePattern":"`config_schema` is deprecated and will be removed\\. Please use `context_schema` instead\\.","errorType":"console","errorClass":"LangGraphDeprecatedSinceV10","httpStatus":null,"severity":"error","filePath":"libs/langgraph/langgraph/graph/state.py","lineNumber":226,"sourceCode":"    waiting_edges: set[tuple[tuple[str, ...], str]]\n\n    compiled: bool\n    state_schema: type[StateT]\n    context_schema: type[ContextT] | None\n    input_schema: type[InputT]\n    output_schema: type[OutputT]\n\n    def __init__(\n        self,\n        state_schema: type[StateT],\n        context_schema: type[ContextT] | None = None,\n        *,\n        input_schema: type[InputT] | None = None,\n        output_schema: type[OutputT] | None = None,\n        **kwargs: Unpack[DeprecatedKwargs],\n    ) -> None:\n        if (config_schema := kwargs.get(\"config_schema\", MISSING)) is not MISSING:\n            warnings.warn(\n                \"`config_schema` is deprecated and will be removed. Please use `context_schema` instead.\",\n                category=LangGraphDeprecatedSinceV10,\n                stacklevel=2,\n            )\n            if context_schema is None:\n                context_schema = cast(type[ContextT], config_schema)\n\n        if (input_ := kwargs.get(\"input\", MISSING)) is not MISSING:\n            warnings.warn(\n                \"`input` is deprecated and will be removed. Please use `input_schema` instead.\",\n                category=LangGraphDeprecatedSinceV05,\n                stacklevel=2,\n            )\n            if input_schema is None:\n                input_schema = cast(type[InputT], input_)\n\n        if (output := kwargs.get(\"output\", MISSING)) is not MISSING:\n            warnings.warn(","sourceCodeStart":208,"sourceCodeEnd":244,"githubUrl":"https://github.com/langchain-ai/langgraph/blob/38031739e551638e373fb553453256c23feeb41f/libs/langgraph/langgraph/graph/state.py#L208-L244","documentation":"Error \"`config_schema` is deprecated and will be removed. Please use `context_schema` instead.\" thrown in langchain-ai/langgraph.","triggerScenarios":"Thrown at libs/langgraph/langgraph/graph/state.py:226 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"38031739e551638e373fb553453256c23feeb41f","analyzedAt":"2026-08-26T18:02:49.312Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}