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

Report an error if a message cannot be delivered #70

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

sbarral
Copy link
Member

@sbarral sbarral commented Nov 26, 2024

No description provided.

@sbarral sbarral requested a review from jauhien November 26, 2024 15:44
SIMULATION_OUT_OF_SYNC = 7;
SIMULATION_BAD_QUERY = 8;
SIMULATION_TIME_OUT_OF_RANGE = 9;
SIMULATION_NO_RECIPIENT = 5;
Copy link
Contributor

Choose a reason for hiding this comment

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

I understand that after final release those numbers will be frozen. Or we do not care about such things?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, they need to be frozen. They are totally arbitrary though, but at least at the beginning let's order them sequentially...

tonic::Response<super::ScheduleEventReply>,
tonic::Status,
>;
) -> std::result::Result<tonic::Response<super::ScheduleEventReply>, tonic::Status>;
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't remember whether rustfmt is applied to codegen code. (Asking as change of formatting looks strange a bit)

Copy link
Member Author

Choose a reason for hiding this comment

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

I turned off rustfmt for this, the module is declared as:

#[rustfmt::skip]
pub(crate) mod simulation;

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, sorry, nie doczytałem (

@jauhien jauhien merged commit 31be2b0 into main Nov 27, 2024
9 checks passed
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