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

Wrap resources with timestamp and id #11

Merged
merged 2 commits into from
Oct 12, 2020
Merged

Conversation

doomspork
Copy link
Contributor

The goal here is to allow us to pass along the requestId from the web layer so we can trace requests. We also include a source and a timestamp for good record keeping.

string requestId = 2;
string source = 3;

oneof bottle {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Later we can use Case to wrap up other resources but for now the only "top level" one we have is an Order.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should we just call this something like resource?

Copy link
Contributor

Choose a reason for hiding this comment

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

resource seems good and generic. Why is this named Case? Can we do something like Message?

@doomspork doomspork force-pushed the scallan-add-tracing-fields branch from d215a7e to 6892a6e Compare September 28, 2020 15:45
@doomspork doomspork force-pushed the scallan-add-tracing-fields branch from edd3329 to 6892a6e Compare October 12, 2020 17:03
@doomspork doomspork requested a review from a team October 12, 2020 17:14
@btkostner btkostner merged commit 3116b21 into master Oct 12, 2020
@btkostner btkostner deleted the scallan-add-tracing-fields branch October 12, 2020 17:29
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