3. Add new advisory type to `ee/app/graphql/types/query_type.rb`
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Label this issue](https://contributors.gitlab.com/manage-issue?action=label&projectId=278964&issueIid=591070) </details> <!--IssueSummary end--> ## Overview :information_source: Please note the use the `ee/` in directories and `EE` in code because [advisory data is GitLab EE only feature](https://handbook.gitlab.com/handbook/product/categories/features/#vulnerability-research). This work item covers adding support for the `ee/app/graphql/types/package_metadata/advisory_type.rb` GraphQL type to `ee/app/graphql/types/query_type.rb` which essentially 'wires up' the GraphQL Resolver and Type so it can actually be used. ## Actions - [x] Add new `ee/app/graphql/types/package_metadata/advisory_type.rb` GraphQL type to `ee/app/graphql/ee/types/query_type.rb`. - [x] Add support for the `ee/app/graphql/types/package_metadata/advisory_type.rb` GraphQL type to `ee/spec/graphql/ee/types/query_type_spec.rb` (~~:information_source: NOTE: `ee/spec/graphql/types/query_type_spec.rb` should be `ee/spec/graphql/ee/types/query_type_spec.rb` and will hopefully be fixed by https://gitlab.com/gitlab-org/gitlab/-/work_items/591087 :pray:~~). - [x] Ensure `advisory()` queries can be performed as mentioned in Section 3. of ADR-0004. <!--template sourced from https://gitlab.com/gitlab-org/gitlab/-/blob/master/.gitlab/issue_templates/Default.md-->
task