Skip to content

chore(conformance): re-bless for one-way codegen (comline-rust#4) - #14

Merged
Kinflou merged 1 commit into
masterfrom
chore/conformance-oneway-rebless
Sep 1, 2026
Merged

chore(conformance): re-bless for one-way codegen (comline-rust#4)#14
Kinflou merged 1 commit into
masterfrom
chore/conformance-oneway-rebless

Conversation

@Kinflou

@Kinflou Kinflou commented Sep 1, 2026

Copy link
Copy Markdown
Member

Follow-up to comline-rust#4 (one-way codegen, merged).

The protocol fixture's notify (_return: None) is now generated fire-and-forget:

  • no ServiceNotifyError enum
  • fn notify(&self, code: u16); on the trait (no Result)
  • dispatcher arm runs the handler and writes no envelope
  • client method is -> Result<(), RuntimeError> over Client::notify

corpus_matches_golden green against the re-blessed golden. Only protocol/rust.rs changes; TypeScript untouched.

The `protocol` fixture's `notify` (`_return: None`) is now generated
fire-and-forget: no ServiceNotifyError enum, `fn notify(&self, code: u16);`
on the trait, the dispatcher arm calls the handler and writes no envelope,
and the client method is `-> Result<(), RuntimeError>` over Client::notify.
@Kinflou
Kinflou merged commit e23f078 into master Sep 1, 2026
2 checks passed
@Kinflou
Kinflou deleted the chore/conformance-oneway-rebless branch September 1, 2026 18:41
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.

1 participant