Skip to content

Rewrite how options are passed around#44

Merged
sebastiw merged 2 commits into
mainfrom
passing-options
Sep 2, 2025
Merged

Rewrite how options are passed around#44
sebastiw merged 2 commits into
mainfrom
passing-options

Conversation

@sebastiw

@sebastiw sebastiw commented Sep 2, 2025

Copy link
Copy Markdown
Owner

Introduce optional codec callback propagated_options(PreviousHeader, options()) -> options(). which can pick up options from the earlier layer, and merge with the user defined options.

Also alias some protocols to propagate options. for example if user specifies options for sccp it should also be included when calling sccp_mgmt.

@sebastiw sebastiw merged commit 11dec6d into main Sep 2, 2025
1 check passed
@sebastiw sebastiw deleted the passing-options branch September 2, 2025 18:50
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