-
Notifications
You must be signed in to change notification settings - Fork 4
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
Extend parameter annotatedFor
on GET /mappings
#176
Comments
Including tests and documentation.
Unfortunately, there are big performance issues with the new negative assertions (
My current workaround for 2 is to skip counting the values and return an unreasonably big number for X-Total-Count (like 9 999 999). Not returning any total count breaks our client applications (and I couldn't find a convention to say "there are more values, but we don't know how many"), and as far as I can see, there is no disadvantage to this except that it's a fake value. I think if this is documented properly, it should be okay. @nichtich Do you have an opinion on this? |
Found a more efficient way of counting the total number of results for negative annotation assertion queries.
I was able to find a different solution for counting the total results for negative assertions for |
We need some additional values for parameter
annotatedFor
on GET /mappings:any
: has any kind of annotationnone
: has no annotations at all!
, e.g.!assessing
: does not have annotations with that motivationRequired for gbv/cocoda#605.
The text was updated successfully, but these errors were encountered: