wasp-lang/wasp

Refactor network HTTP logic into a module

Offen

#3.661 geöffnet am 26.01.2026

 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Haskell (227 Forks)batch import
good first issuerefactoring

Repository-Metriken

Stars
 (4.229 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide