Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve internal data consistency and typing #28

Open
Laurin-W opened this issue Oct 17, 2024 · 0 comments
Open

Improve internal data consistency and typing #28

Laurin-W opened this issue Oct 17, 2024 · 0 comments

Comments

@Laurin-W
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant