Follow-up from "Extend GraphQL dependency type"
The following discussion from !179062 (merged) should be addressed:
-
@zmartins started a discussion: (+3 comments) @sming-gitlab my apologies for missing this in my earlier review. We might have to create a new type for ancestors as the values aren't string but a hash, like in the following example:
gitlabhq_dblab=# select id, ancestors from sbom_occurrences where ancestors != '[]' limit 1; id | ancestors ------------+--------------------------------------------------------------------------------------------------------------------- 5952653022 | [{"name": "libcurl3-gnutls", "version": "7.88.1-10+deb12u7"}, {"name": "libcurl4", "version": "7.88.1-10+deb12u7"}] (1 row)