指南# Authentication Access authenticated user in resolver 数据记载器 基本用法 异常 覆盖缓存键 缓存失效 将数据导入缓存 自定义缓存 使用 GraphQL 上下文用法 context Dealing with errors GraphQL validation errors GraphQL type errors Unhandled execution errors Expected errors Additional resources: Apollo Federation 2 Guide Federated schema example Books service Reviews service Let’s run our services Apollo Router Additional resources Apollo Federation V1 Guide Federated schema example Books service Reviews service The gateway Custom extensions Hooks Request Resolve Get results Validation Parsing Execution Examples: Execution Context File Upload ASGI / FastAPI / Starlette Sanic / Flask / Django / AIOHTTP Sending file upload requests Sending one file Sending a list of files Sending nested files 分页 Pagination Pagination at a Glance Offset-Based Pagination Pagination Metadata Using page_number Instead of offset Limitations of Offset-Based Pagination Cursor based pagination Implementing pagination in GraphQL Implementing Offset-Based Pagination Running the Query Running a Filtered Query Implementing Cursor Pagination Implementing the Relay Connection Specification Connections Permissions Accessing user information Builtin server Automatic reloading Disabling operation logging Tools create_type merge_types Schema export Convert to Dictionary