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

Perhaps support pattern (meta) properties #31

Open
jsccast opened this issue Feb 13, 2018 · 0 comments
Open

Perhaps support pattern (meta) properties #31

jsccast opened this issue Feb 13, 2018 · 0 comments

Comments

@jsccast
Copy link
Member

jsccast commented Feb 13, 2018

For example,

{"order":"?something","when":"now","#otherProps":false}

might mean that any matching message must have no properties other than order and when. (Presumably such a directive would be local to the structure in which it is present. And presumably not inherited ... )

Or perhaps

{"order":"?something","#expectedTraffic":0.30}

might mean that 30 percent of some traffic should match that pattern. In this case, pattern matching would simply ignore the "#expectedTraffic":0.30, but a tool looking at the pattern would of course still see that data.

@jsccast jsccast changed the title Perhaps support advisory pattern properties Perhaps support pattern meta properties Feb 13, 2018
@jsccast jsccast changed the title Perhaps support pattern meta properties Perhaps support pattern (meta) properties Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant