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

Catch incorrect values based on type in smart parser #1067

Open
plajjan opened this issue Oct 7, 2016 · 0 comments
Open

Catch incorrect values based on type in smart parser #1067

plajjan opened this issue Oct 7, 2016 · 0 comments

Comments

@plajjan
Copy link
Member

plajjan commented Oct 7, 2016

We need to catch incorrect values in the smart parser. For example "vlan=foo" is an incorrect query since vlan is an integer and thus should only accept integers... so need to map out what attributes are of which type and then check the input value of a search expression so that it matches up.

This makes it possible to return in the search interpretation if a value is incorrect.

This is the last piece of #1007 and I'm writing it down as this separate and more specific issue so we'll actually remember what's left to do :)

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