Skip to content

Conversation

@FinnitoProductions
Copy link
Contributor

Allow for a route to retrieve its associated listener tag. This enables us to use the same route across multiple different listeners, and for it to execute execute custom configuration behavior depending on its associated listener.

return id
end
}
ctx._listen_tag = tag
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this code missing something? I don't see where tag is coming from.

Copy link
Contributor Author

@FinnitoProductions FinnitoProductions Apr 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry -- missed a couple lines when I was copying over. I'll fix it now

@dormando
Copy link
Member

Could use a test. Looks like the best idea is a new test file with some -l specified. Want to give it a go?

@FinnitoProductions
Copy link
Contributor Author

Sure @dormando, I'll tackle it by EOD!

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