Skip to content

feat(dumper): allow subclasses to override record copy behavior#356

Open
max-moser wants to merge 2 commits into
inveniosoftware:masterfrom
max-moser:mm/deepcopy
Open

feat(dumper): allow subclasses to override record copy behavior#356
max-moser wants to merge 2 commits into
inveniosoftware:masterfrom
max-moser:mm/deepcopy

Conversation

@max-moser

Copy link
Copy Markdown
Contributor

Because deepcopy can be a very costly operation and overkill in some cases, we allow subclasses of Dumper to provide their own record copy strategy.

* because deepcopy can be a very costly operation and overkill in some
  cases, we allow subclasses of ``Dumper`` to provide their own record
  copy strategy
* change the responsibility about deciding on an appropriate copy
  mechanism before data loading from being baked into the record class
  to the dumper class
* this makes it easier to change the copy mechanism depending on the
  circumstances towards which the dumper should be geared
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

Successfully merging this pull request may close these issues.

1 participant