Skip to content

GraphQL: remove the `pipelines` field from the package returned in the `version` field

🔥 Problem

Currently in GraphQL, we can query package -> versions -> pipelines. This currently pull an unbounded number of objects in memory.

🚒 Solution

After discussing with @nmezzopera, the pipelines field is not needed in the UI by the frontend. We could thus remove it from the package structures returned by the versions field.

Users wanting the get the pipelines of a given version, they still can query: package -> pipelines

Mind the deprecation process in GraphQL!