activitypods / activitypods/mastopod

Improve internal data consistency and typing

Offen
#28 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
25
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Different softwares format ActivityPub objects differently, because the specs are quite loose. For example an object might have attachments that either need to be fetched separately or are resolved already.
Currently, our handling for less common formats is inconsistent and the json needs to be checked in all locations (instead of validating in once when receiving data).

By developing a mechanism to specify the exactly desired internal target format and providing type safety, we can improve code stability and make future app development easier. To aid in code-reusability, this will be developed in the SemApps repository.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.