ssbc / ssb-tribes2

SSB private groups with ssb-db2
8 stars 1 forks source link

Match all publishes against spec #27

Closed Powersource closed 1 year ago

Powersource commented 1 year ago

We could easily adapt private-group-spec/group/add-member/schema.json to check the tangle on a normal message. Then we could check everything being published by publish, including the work that the tangle pruning does (that sort of gets skipped by the addMember spec being checked before publish/tanglePrune

Powersource commented 1 year ago

Just spent waay too long trying to get external schemas working with is-my-ssb/json-valid. My conclusion is that it basically doesn't work or at least doesn't have any bloody documentation uurgh. I'll just hardcode the duplicated parts, alternatively manually splice json together from different files.

Powersource commented 1 year ago

pr in the spec https://github.com/ssbc/private-group-spec/pull/21

needs to be followed up with a pr in tribes2 that actually uses that schema

Powersource commented 1 year ago

spec pr merged