Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: rename IPush and IPull sources to better reflect their purposes #295

Merged
merged 3 commits into from
Nov 21, 2023

Conversation

cwaldren-ld
Copy link
Contributor

@cwaldren-ld cwaldren-ld commented Nov 21, 2023

The original names were an attempting to retain some symmetry, while also showing that both modes are "sources".

This doesn't need to be the case. These "sources" are conceptual, but have totally different modes of interaction.

I've updated the names to IDataSynchronizer and IDataReader. These are names that I used in past revisions of the DS spec, and I think they are the better choice today.

@cwaldren-ld cwaldren-ld changed the base branch from main to feat/data-system November 21, 2023 17:56
@@ -0,0 +1,39 @@
#include "json_data_reader.hpp"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a file renaming, not new content (except for updating the ISerializedDataReader symbol.)

@@ -1,16 +1,15 @@
#pragma once
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since IPullSource is now an IDataReader, it makes sense that the JsonSource is now a JsonDataReader.

@cwaldren-ld cwaldren-ld marked this pull request as ready for review November 21, 2023 17:57
@cwaldren-ld cwaldren-ld requested review from a team and keelerm84 November 21, 2023 17:57
@cwaldren-ld cwaldren-ld merged commit 3b22bea into feat/data-system Nov 21, 2023
9 of 15 checks passed
@cwaldren-ld cwaldren-ld deleted the cw/rename-push-pull-sources branch November 21, 2023 18:54
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