-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels