Create the edge, pass it through a filter.
apply_filters( 'graphql_connection_edge', array $edge, AbstractConnectionResolver $resolver);
Params
- $edge (array): The edge within the connection
- $resolver (AbstractConnectionResolver): Instance of the connection resolver class