graphql-python / graphql-python/graphql-relay-py
How can I get offset from cursor using exposed function?
未关闭
- 主要语言
- Python
- 星标
- 144
- 派生
- 41
- PR 合并指标
- 30 天内没有已合并 PR
描述
I found `cursor_to_offset` function internally used.
I know that I can define cursor myself, but I think there has to be a way to deal with predefined cursor. But there are not exposed.
And I'm using `graphene` actually, not `graphql_relay` directly. I think that they both don't offer such way neither.
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start by inspecting the internally used cursor_to_offset function and how predefined cursors are handled in graphql-relay-py. Check how the library is consumed through graphene and determine the public API needed to access the offset; done means callers can obtain an offset without defining a cursor themselves.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- graphql, python
- 领域
- api, backend-api-design
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100