Abstract type "PageInformation" must resolve to an Object type at runtime for field "UserPage.pageContent". Either the "PageInformation" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.
i got some error about this but i can’t fix, can anyone help me to solve this?
here is my schemas
type Query{
# for only admin
filterUser(filterModel: UserFilterModel, pageable: Pageable!): UserPage!
}
type UserPage {
edges: [UserEdge!]
pageContent: PageInformation!
}
type UserEdge {
cursor: String
node: User!
}
interface PageInformation{
page: Int!
perPage: Int!
totalElements: Int!
numberOfElements: Int!
totalPages: Int!
}
…