cabal-club / commons

high level thoughts and issues for the future of cabal
14 stars 2 forks source link

message spec and test/validation package #3

Open cinnamon-bun opened 5 years ago

cinnamon-bun commented 5 years ago

It'd be nice to have a written spec for the common message types like chat/text so client authors can can converge on a format.

It'd be double nice if this was a little package that validated messages against the spec, for client authors to use while testing.

Of course clients can invent new message types and do whatever they want. But for people who want to converge on a common format, this will help.