Page MenuHomeSoftware Heritage

Don't recurse into attrs objects when serializing
ClosedPublic

Authored by olasd on Jul 6 2020, 9:52 AM.

Details

Summary

We need to use our serialization hook recursively to make sure that we can
deserialize nested data structures.

Test Plan

Will be used in further commits.

Diff Detail

Repository
rDSCH Scheduling utilities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D3422 (id=12122)

Rebasing onto cc8fa7f4c0...

Current branch diff-target is up to date.
Changes applied before test
commit aefc5c97f80ae869447165c12620df5ff1775afc
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Mon Jul 6 09:48:29 2020 +0200

    Don't recurse into attrs objects when serializing
    
    We need to use our serialization hook recursively to make sure that we can
    deserialize nested data structures.

See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/33/ for more details.

This revision is now accepted and ready to land.Jul 6 2020, 10:49 AM