separate spacetime init/dev client and server templates
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 42/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- rust, typescript
调研方向
从 spacetime init/dev 命令、其当前的模板选择流程,以及 issue 中描述的 --server-only 和 server-language 选项开始。梳理客户端模板和服务器模板目前是如何耦合的;完成的标准是它们可以独立选择、支持不同的语言,并且无需对话框即可创建 client-only 或 server-only 项目。
由索引模型根据 Issue 内容生成。
描述
currently spacetime init/dev templates have the client and server together in the same template folder.
this is so that the client code is compatible with the server code but it also means that it is not possible to select different languages between the client and server. if all templates that contain the same code are named the same (except the language), then it wouldn't matter if the client and server templates are selected in two steps.
so to have for example a rust server and TS client, it would require to make a rust server only, and init another TS server + client and then delete the new TS server and replace it with the earlier created rust server.
it is also not possible to make just a client or just a server once the command is run. the spacetime init has a --server-only flag but it can only be used with the start of the command and not as option later. there is no flag for just a client.
there is also a flag for the server language but not for the client language, so it is not possible to use init without going through the dialogue if you want to have a client too.
- 主要语言
- Rust
- 星标
- 25.2k
- 派生
- 1.1k
- 平均合并
- 3 天 17 小时
- 30 天内合并 PR
- 45
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
clockworklabs/SpacetimeDB 的其他 Issue
-
CI flake: Lints未关闭
难度 1/5 1 小时以内 新手友好度 88/100
clockworklabs/SpacetimeDB#5985 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
clockworklabs/SpacetimeDB#5943 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
clockworklabs/SpacetimeDB#5851 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
clockworklabs/SpacetimeDB#5693 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
clockworklabs/SpacetimeDB#5587 ·
维护者通常 1 天内回复
查看 clockworklabs/SpacetimeDB 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
trailofbits/dylint#2107 ·
维护者通常 1 天内回复
-
area:cli bug good first issue priority:medium
难度 2/5 1-3 小时 新手友好度 90/100
维护者通常 1 天内回复
-
arrays_zip with two same-named inputs fails with "ArrowArray struct has 2 children (expected 1)"未关闭bug requires-triage
难度 2/5 1-3 小时 新手友好度 78/100
apache/datafusion-comet#6251 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug false-positive harper-core linting
难度 2/5 1-3 小时 新手友好度 68/100
Automattic/harper#4471 ·
维护者通常 1 天内回复