-
Notifications
You must be signed in to change notification settings - Fork 1
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
Incorrect parameters spec for -get-person
#23
Comments
Note: there are the following specs in xapi-schema: (s/def :xapi.common.param/agent
(json (s/nonconforming ::xs/actor)))
(s/def :xapi.statements.GET.request.params/agent
:xapi.common.param/agent)
(s/def :xapi.agents.GET.request.params/agent
:xapi.document.param/agent) however these do not work as |
I don't get it, it says |
Oh I see what you mean. My mistake I thought |
Yep, that last bit seems correct, it should be changed to agent specifically. Make a PR on |
The following is the current params spec for
get-person
:However, this is incorrect, since this is simply the spec for statement resource queries, not agent resource queries. In the former,agent
is an optional parameter, but in the latter,agent
is required. Therefore, during generative testing,-get-person
would receive missingagent
values, causing unnecessary errors.EDIT: I likely used these specs wrong in lrsql and incorrectly determined the source of the issue. The followup comment still stands, however.
The text was updated successfully, but these errors were encountered: