Conversion of BigInteger primary keys to ID
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
调研方向
从 graphene_sqlalchemy/converter.py 中第 450 行附近提到的 Integer 转换开始,然后比较当前如何映射 BigInteger 主键。验证生成的 GraphQL schema,并确认 BigInteger 主键使用非空 ID 类型而不是 Float;结合相关 issue #247 和 #102 了解上下文。
由索引模型根据 Issue 内容生成。
描述
I find myself in a situation where some of the database primary keys are of the type BigInteger.
In this case, rather than Float, shouldn't the type be converted to ID! (like is the case for Integer, see https://github.com/graphql-python/graphene-sqlalchemy/blob/v3.0.0rc1/graphene_sqlalchemy/converter.py#L450)?
I believe this issue is related to #247 and #102.
- 主要语言
- Python
- 星标
- 985
- 派生
- 224
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
graphql-python/graphene-sqlalchemy 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 38/100
-
难度 3/5 1-2 天 新手友好度 52/100
-
难度 5/5 一周以上 新手友好度 35/100
-
难度 5/5 一周以上 新手友好度 25/100
graphql-python/graphene-sqlalchemy#422 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
graphql-python/graphene-sqlalchemy#419 · 3 条评论 ·
查看 graphql-python/graphene-sqlalchemy 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
stephrobert/dsoxlab#238 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
sublimehq/package_control#1780 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 70/100
nwg-piotr/nwg-displays#145 ·