wasp-lang/wasp

Refactor network HTTP logic into a module

开放

#3,661 创建于 2026年1月26日

 (6 条评论) (0 个反应) (0 位负责人)Haskell (227 个派生)batch import
good first issuerefactoring

仓库指标

星标
 (4,229 个星标)
PR 合并指标
 (平均合并 2天 16小时) (30 天内合并 85 个 PR)

描述

Version: 0.20.0

The fetching logic in waspc/cli/src/Wasp/Cli/Command/News/Fetching.hs contains patterns applicable beyond just news fetching. We should extract it to something like Wasp.Util.Network.HTTP and use it acorss the codebase.

Examples of files with similar patterns that could use this module:

  • waspc/cli/src/Wasp/Cli/Archive.hs
  • waspc/src/Wasp/AI/OpenAI/ChatGPT.hs
  • waspc/cli/src/Wasp/Cli/Command/Telemetry/Project.hs
  • waspc/cli/src/Wasp/Cli/GithubRepo.hs
  • waspc/src/Wasp/AI/CodeAgent.hs

Original discussion: https://github.com/wasp-lang/wasp/pull/3535#discussion_r2639913765

贡献者指南