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

CQP & Poliqarp: Error for unknown flags #176

Open
margaretha opened this issue Mar 4, 2024 · 1 comment
Open

CQP & Poliqarp: Error for unknown flags #176

margaretha opened this issue Mar 4, 2024 · 1 comment

Comments

@margaretha
Copy link
Contributor

margaretha commented Mar 4, 2024

Unknown flag such as the example below is just ignored in the serialization.

"Fraulein"%s

It would be more transparent and informative to throw an error g, e.g. Flag s is unknown.

A combination of known and unknown flags such as the example below:

"Fraulein"%cs

returns errors:

[302, "Failing to parse at symbol: '\"'", 13 ],
[ 302, "Could not parse query >>> \"Fraulein\"%cs <<<." ]

As the first example, an error should be thrown.

@margaretha
Copy link
Contributor Author

[orth="l(au|ie)fen"%cd]
returns a warning

"warnings": [
    [
      748,
      "Flag is unknown",
      "flags:diacriticsInsensitive"
    ]
  ]

@margaretha margaretha changed the title Error for unknown flags CQP & Poliqarp: Error for unknown flags Mar 5, 2024
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

1 participant