Currently, Query has fields required for constructing a query to OSV.dev but also has the not-that-relevant field Source. Source is in Query because we want to pass the information to the results. We should move it from Query to a separate struct - this will be a breaking change so reserve it for V2.
Currently, Query has fields required for constructing a query to OSV.dev but also has the not-that-relevant field
Source
.Source
is inQuery
because we want to pass the information to the results. We should move it fromQuery
to a separate struct - this will be a breaking change so reserve it for V2.