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

Optional components #21

Open
ThisIsDemetrio opened this issue Oct 1, 2024 · 1 comment
Open

Optional components #21

ThisIsDemetrio opened this issue Oct 1, 2024 · 1 comment

Comments

@ThisIsDemetrio
Copy link

Hi there. I was experimenting with the library, which I might use in a project of mine, and I was wondering if there's any possibility to add optional components, that I can decide whether to include it or not.

Similar to r-components or q-components defined in Section 2.3 of RFC-8141 (that obsoleted 2141).

@cmawhorter
Copy link
Owner

There is no support for things like r- or q-components as-is. I achieved something similar to q-components for a private app by wrapping urn-lib and using url search params e.g. urn:a:b:c/hello?target=world. This was before I was aware of 8141, but It worked well enough.

Yikes... I just realized I never moved beyond alpha v2. I'll take a look at adding an 8141 target mode config option or something when I get a chance, but a PR is definitely welcome.

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

No branches or pull requests

2 participants