apollo-studio-community icon indicating copy to clipboard operation
apollo-studio-community copied to clipboard

Shared/Named fragments for reuse

Open matthewweldon opened this issue 1 year ago • 0 comments

Context

I'm an iOS developer trying to get my head around Apollo studio's named fragments.

In this (deprecated) documentation the benefit of named fragments is stated as:

Named fragments can stand alone and are great for reuse across multiple queries.

Are named fragments that are reusable between queries possible or do you need to remake identically named and parameterized fragments in the Apollo studio for each query?

I understand this would work locally if I had named fragments in their own .graphql files, but I'm trying to use Apollo studio as a source of truth.

What type of feedback is this?

  • [x] Question
  • [ ] Idea
  • [ ] Bug
  • [ ] New example or operation collection

Is there anything else you'd like to share about the Platform API?

matthewweldon avatar Jul 05 '23 16:07 matthewweldon