Skip to content

refactor: remove repeated code in libmdx impl of StoreEngine#219

Merged
fmoletta merged 2 commits into
mainfrom
refactor-libmdx-store
Aug 2, 2024
Merged

refactor: remove repeated code in libmdx impl of StoreEngine#219
fmoletta merged 2 commits into
mainfrom
refactor-libmdx-store

Conversation

@fmoletta

@fmoletta fmoletta commented Aug 2, 2024

Copy link
Copy Markdown
Contributor

Motivation

Reduce the amount of repeated code in the libmdx implementation of Store and make it easier to implement future methods

Description

*Add generic methods (write, read, remove) to libmdx impl of Store, encapsulating code that is repeated in all StoreEngine trait method implementations

  • Refactor StoreEngine trait implementation based on the new methods

Closes None, but will make future additions faster

@fmoletta fmoletta changed the title refactor: remove repeated code in libmdx impl of Store refactor: remove repeated code in libmdx impl of StoreEngine Aug 2, 2024
@fmoletta fmoletta marked this pull request as ready for review August 2, 2024 15:51
@fmoletta fmoletta requested a review from a team as a code owner August 2, 2024 15:51

@mpaulucci mpaulucci left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@fmoletta fmoletta added this pull request to the merge queue Aug 2, 2024
Merged via the queue into main with commit 6eab2b5 Aug 2, 2024
@fmoletta fmoletta deleted the refactor-libmdx-store branch August 2, 2024 19:47
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.

2 participants