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: Include id in Record response #2156

Merged
merged 1 commit into from
Oct 27, 2023
Merged

refactor: Include id in Record response #2156

merged 1 commit into from
Oct 27, 2023

Conversation

chubei
Copy link
Contributor

@chubei chubei commented Oct 16, 2023

Previously we only include record version in message Record, and the record id was returned in yet another message RecordWithId. It was because of legacy reasons that don't exist anymore.

In this PR, we include id in message Record and remove message RecordWithId. The same change is applied on both common and typed APIs.

We also made a small change to ingest.proto: instead of taking Record we now take repeated Value, because ingestion doesn't care about record id or version.

@Jesse-Bakker
Copy link
Contributor

The change to ingest.proto will require changes to some samples and documentation

@chubei
Copy link
Contributor Author

chubei commented Oct 17, 2023

The change to ingest.proto will require changes to some samples and documentation

Sure. That's what the doc-update-needed label is for.

@chubei
Copy link
Contributor Author

chubei commented Oct 24, 2023

@jianxiangxun @Jesse-Bakker are we merging this?

@jianxiangxun
Copy link

All things about dozer library have been done.
I think it is time to merge.
getdozer/dozer-js#26

@chubei chubei enabled auto-merge October 27, 2023 02:12
@chubei chubei added this pull request to the merge queue Oct 27, 2023
Merged via the queue into getdozer:main with commit 56b1372 Oct 27, 2023
4 checks passed
@chubei chubei deleted the refactor/id branch October 27, 2023 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants