When using GraphQL fragments to query slices, the content type name, "body", and slice type name are combined to form a fragment type. This is described here:
However, this makes reusing these slices for other content types impossible. For example, say I have 2 content types and one slice type I want to share between them. One fragment will be:
fragment SliceFragment on ContentTypeABodySliceType {
field 1,
field 2,
....
}
fragment SliceFragment on ContentTypeBBodySliceType {
field 1,
field 2,
....
}
As you can see, these types are different and therefore requires the repetition of the slice's fields. Is there a way around this, or does Prismic plan to support this in the future?