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

Radix node with multiple parameters #42

Closed
1 task done
stuft2 opened this issue Feb 22, 2023 · 1 comment · Fixed by #52
Closed
1 task done

Radix node with multiple parameters #42

stuft2 opened this issue Feb 22, 2023 · 1 comment · Fixed by #52

Comments

@stuft2
Copy link

stuft2 commented Feb 22, 2023

Describe the feature

Could radix3 support multiple parameters in a single node? The main use case is to represent a composite key in a URL.

For example: /patient/:name,:dob.

From RFC 3986

Aside from dot-segments in hierarchical paths, a path segment is considered opaque by the generic syntax. URI producing applications often use the reserved characters allowed in a segment to delimit scheme-specific or dereference-handler-specific subcomponents. For example, the semicolon (";") and equals ("=") reserved characters are often used to delimit parameters and parameter values applicable to that segment. The comma (",") reserved character is often used for similar purposes. For example, one URI producer might use a segment such as "name;v=1.1" to indicate a reference to version 1.1 of "name", whereas another might use a segment such as "name,1.1" to indicate the same. Parameter types may be defined by scheme-specific semantics, but in most cases the syntax of a parameter is specific to the implementation of the URI's dereferencing algorithm.

Additional information

  • Would you be willing to help implement this feature?
@stuft2 stuft2 changed the title Multi-parameter support Radix node with multiple parameters Feb 22, 2023
@pi0
Copy link
Member

pi0 commented Feb 24, 2023

Hi thanks for issue and rfc reference. Let's track this via It is related to #11 we need to support combining multiple static/dynamic params in same segment.

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 a pull request may close this issue.

2 participants