Skip to content

[RFC] Added support for diff serialization #19

@lyrixx

Description

@lyrixx

Hello.

It could be fine to have an elegant way to serialize/deserialize a Diff to store it in a database (for exemple).
I have to store it in DB because my repository can not longer exist :(

We could use symfony/serializer. Of course, it's not the responsibility of gitlib to serialize itself. But we can add convenient methods / interfaces to make it easier.

For now, it's not very possible, because every object have a dependency to Repository object.

BTW, if we do that, we should consider to add serialization for object.

What do you think ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions