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

Fix serialization of JSON-LD subarrays #2452

Merged
merged 1 commit into from
Dec 5, 2022

Commits on Dec 5, 2022

  1. Fix serialization of JSON-LD subarrays

    Properties like "tag" could be lists containing multiple subclasses of
    ActivityObject. Make sure to serialize them recursively instead of
    outputting them as they are, because otherwise we could get a bunch of
    nulls in the resulting JSON and that wouldn't necessarily be a valid
    JSON-LD object.
    
    Fix: bookwyrm-social#2451
    indutny committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    cdc8336 View commit details
    Browse the repository at this point in the history