-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add new node kinds #27
Comments
|
For my MQTT usecase I have shared here: #41 (comment) there would be the need to have a wildcard which excludes the trailing / when matching. I have used a named wildcard like this: this matches topics like:
and so on, but the MQTT specification also requires matching of:
which would result in including the / in the values above and This was and is still "good enough" for me, but it would be nice to have a dedicated matcher or option for this usecase also. |
Another nice thing would be an optional "root node", which would allow having routes which don't need a common first character. |
This was supported in very early versions.
I will consider adding this feature. |
I know MQTT is not the intended use case, but since the router is very versatile it almost supports it :-) so i just wanted to drop it here for reference. Of course it is up to you to decide the future direction of the project. |
Root?: allow''
empty str at top of the tree, replace/
The text was updated successfully, but these errors were encountered: