haskell-servant / haskell-servant/servant-js

Fetch Api support

Open
#26 4 comments 2 reactions 0 assignees View on GitHub
help wanted
Dominant language
Haskell
Stars
23
Forks
22
PR merge metrics
No merged PRs in 30d

Description

I like how the project is supporting multiple frameworks and plain javascript with xhr. The ˋfetchˋ api is missing. It returns promises and could in general be favored over the other implementations.

https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API

Is support planned, discussed or wanted?

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the existing plain-JavaScript XHR implementation and compare its client behavior with the MDN Fetch API documentation linked in the issue. Define the expected promise-based support and verify that generated service clients can use fetch without losing the existing API behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.