Azure / Azure/data-api-builder
Can't configure the partition key when defining the object model
未关闭
cosmos
engine
enhancement
graphql
- 主要语言
- C#
- 星标
- 1.5k
- 派生
- 370
- 平均合并
- 3 天 22 小时
- 30 天内合并 PR
- 9
描述
Cosmos backends require you to have a partition key of `id`, but there are many approaches to partitioning in Cosmos.
The developer should be able to define what it is when they are creating the GraphQL schema, maybe using a `@partitionKey` directive.
贡献指南
调研方向
首先检查 GraphQL schema 如何定义对象模型,以及 Cosmos 后端当前如何处理必需的 `id` 分区键。当开发者可以在创建 schema 时指定其他分区键(可能通过 `@partitionKey` 指令),并且 Cosmos 请求使用该定义时,此 issue 即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- azure, csharp, graphql
- 领域
- api, database
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100