Skip to content

feat(extensions): support homogeneous tuple arguments - #208

Merged
wackywendell merged 1 commit into
mainfrom
wendell/homogeneous-tuple-arguments
Aug 17, 2026
Merged

feat(extensions): support homogeneous tuple arguments#208
wackywendell merged 1 commit into
mainfrom
wendell/homogeneous-tuple-arguments

Conversation

@wackywendell

@wackywendell wackywendell commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Description

Small PR on top of #208 that adds a .get_named_tuple::<T> method to ArgsAccess (previously ArgsExtractor), which will handle the lookup and conversions to return a Vec<T> (or error).

let scope_names = args
    .get_named_tuple::<String>("scope_names")?
    .unwrap_or_default();

@wackywendell
wackywendell force-pushed the wendell/homogeneous-tuple-arguments branch from 8ad00d2 to 1b012f9 Compare August 14, 2026 14:09
@wackywendell
wackywendell force-pushed the wendell/homogeneous-tuple-arguments branch from 1b012f9 to fe1b7e9 Compare August 14, 2026 15:36
@wackywendell
wackywendell marked this pull request as ready for review August 14, 2026 15:47
@wackywendell
wackywendell requested a review from a team as a code owner August 14, 2026 15:47
Base automatically changed from wendell/framework-managed-args-extractor to main August 17, 2026 16:39
@wackywendell
wackywendell force-pushed the wendell/homogeneous-tuple-arguments branch from fe1b7e9 to d58c7dc Compare August 17, 2026 16:39
@wackywendell
wackywendell merged commit 9be4ec8 into main Aug 17, 2026
4 checks passed
@wackywendell
wackywendell deleted the wendell/homogeneous-tuple-arguments branch August 17, 2026 16:40
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