The following is the current params spec for get-person:
(s/def ::get-person-params
(sc/with-conform-gen :xapi.agents.GET.request/params))
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 missing agent 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 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,agentis an optional parameter, but in the latter,agentis required. Therefore, during generative testing,-get-personwould receive missingagentvalues, 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.