wasp-lang/wasp

Refactor network HTTP logic into a module

Open

#3,661 建立於 2026年1月26日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)Haskell (227 fork)batch import
good first issuerefactoring

倉庫指標

Star
 (4,229 star)
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

貢獻者指南