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

Should multiple delegates be allowed? #4114

Open
arik-so opened this issue Nov 29, 2024 · 2 comments
Open

Should multiple delegates be allowed? #4114

arik-so opened this issue Nov 29, 2024 · 2 comments

Comments

@arik-so
Copy link
Contributor

arik-so commented Nov 29, 2024

Should inscriptions be allowed to have multiple, or fallback, delegates?

Currently, the way an inscription with a delegate renders is it simply returns the content and effective mime type of the delegate it references. Multiple delegates would allow a fallback mechanism that would lend itself particularly well to multi-phase gradual revelations.

Is it worth it? Is it preferable to some sort of dynamic inscription mechanism using recursion? I don't know, but it seems like an easy enough change – unlike recursive delegates, whose implementation I foresee being a horrible headache.

If there's any interest, I already have a PR up, where @casey prompted this discussion.

@casey
Copy link
Collaborator

casey commented Dec 11, 2024

I'm thinking this is probably fine to add. I can't think of a super principled reason not to.

@raphjaph
Copy link
Collaborator

LFG

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

3 participants