-
-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Labels
Description
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 ?