apollographql / federation-hotchocolate

HotChocolate support for Apollo Federation
https://www.apollographql.com/docs/federation/
MIT License
16 stars 8 forks source link

Using two subgraphs with paging via [UsePaging] results in INVALID_FIELD_SHARING #63

Closed willgittoes closed 11 months ago

willgittoes commented 11 months ago

Each of the subgraphs separately define PageInfo, this isn't explcit but is created by Hot Chocolate:

"Information about pagination in a connection."
type PageInfo {
  "Indicates whether more edges exist following the set defined by the clients arguments."
  hasNextPage: Boolean!
  "Indicates whether more edges exist prior the set defined by the clients arguments."
  hasPreviousPage: Boolean!
  "When paginating backwards, the cursor to continue."
  startCursor: String
  "When paginating forwards, the cursor to continue."
  endCursor: String
}
dariuszkuc commented 11 months ago

Hello 👋 This sounds like a duplicate of https://github.com/apollographql/federation-hotchocolate/issues/46?

willgittoes commented 11 months ago

Ah yup you're completely correct, not sure how I missed that!