package Ġio . github . wic ke dev . graphql . directives Ċ Ċ import Ġgraphql . Scalars Ċ import Ġgraphql . int rospection . Int rospection Ċ import Ġgraphql . schema . GraphQL Directive Ċ import Ġgraphql . schema . GraphQL List . list Ċ import Ġgraphql . schema . GraphQL NonNull . non Null Ċ import Ġio . github . wic ke dev . graphql . scal ars . GraphQL ID Scalar Ċ Ċ internal Ġconst Ġval ĠPRE PEND _ NODE _ DIRECT IVE _ NAME Ġ= Ġ" prepend Node " Ċ private Ġval ĠPRE PEND _ NODE _ DIRECT IVE _ DESCRIPTION Ġ= Ġ""" ĊĠĠĠĠĠĠĠ Ġ( Relay ĠOnly ) ĊĠĠĠĠĠĠĠĠĊĠĠĠĠĠĠĠ ĠFor Ġuse Ġwithin Ġmutations . ĠAfter Ġthe Ġmutation Ġrequest Ġis Ġcomplete , Ġthis Ġnode ĊĠĠĠĠĠĠĠ Ġwill Ġbe Ġpre pended Ġto Ġits Ġparent Ġconnection . ĊĠĠĠĠĠĠĠĠĊĠĠĠĠĠĠĠ Ġ[ Read ĠMore ]( https :// relay . dev / docs / guide d - tour / updating - data / graphql - mutations /# updating - data - once - a - request - is - complete ) ĊĠĠĠ Ġ""" . trim Indent () Ċ Ċ val ĠPRE PEND _ NODE _ DIRECT IVE _ TYPE : ĠGraphQL Directive Ġ= ĠGraphQL Directive . new Directive () ĊĠĠĠ Ġ. name ( PRE PEND _ NODE _ DIRECT IVE _ NAME ) ĊĠĠĠ Ġ. description ( PRE PEND _ NODE _ DIRECT IVE _ DESCRIPTION ) ĊĠĠĠ Ġ. valid Locations ( Int rospection . Directive Location . FIELD ) ĊĠĠĠ Ġ. argument Ġ{ ĊĠĠĠĠĠĠĠ Ġit . name (" connections ") ĊĠĠĠĠĠĠĠ Ġit . type ( non Null ( list ( non Null ( GraphQL ID Scalar )))) ĊĠĠĠ Ġ} ĊĠĠĠ Ġ. argument Ġ{ ĊĠĠĠĠĠĠĠ Ġit . name (" edge TypeName ") ĊĠĠĠĠĠĠĠ Ġit . type ( non Null ( Scalars . GraphQL String )) ĊĠĠĠ Ġ} ĊĠĠĠ Ġ. build () Ċ