akka / akka/akka-http

Lack of ws.Message (un)marshaller

Open
#2,256 1 comment 1 reaction 0 assignees View on GitHub
1 - triaged help wanted t:marshalling t:websocket
Dominant language
Scala
Stars
1.4k
Forks
584
Avg merge
14h 33m
Merged PRs (30d)
24

Description

I'd like to hear opinions on the standard inclusion of a `FromWSMessageUnmarshaller` for `ws.Message`. This would reduce standard boilerplate when dealing with web sockets. I'd even go as far as suggest that implementations for JSON and XML be included. Whenever I'm dealing with web sockets, most, if not all, communication is done using a JSON transport. I've got the implementations mostly ready, so I can produce a PR if necessary.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by reviewing ws.Message and the existing unmarshaller APIs, then assess the proposed FromWSMessageUnmarshaller for JSON and XML WebSocket communication. Done requires an agreed API and a decision on whether the standard inclusion should proceed.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.