You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
newGraphQLError(`no such entity with ref: '${queries[index]}'`)),
);
that maybe it should be testing to see if it's an instance of the Graphql Error?
Or are you intending to bubble that up?
The error that is shown there is
Abstract type \"Owner\" must resolve to an Object type at runtime for field \"OpaqueComponent.owner\". Either the \"Owner\" type should provide a \"resolveType\" function or each possible type should provide an \"isTypeOf\" function.
cause the entity is actually
{
__source: 'Catalog',
message: "no such entity with ref: '[object Object]'",
path: undefined,
locations: undefined,
extensions: [Object: null prototype] {}
}
which is the result of the GraphQLError
I'm open to open a PR, but should I just add a instance of GraphQLError check where we are just checking for the !entity?
The text was updated successfully, but these errors were encountered:
I think I boilded it down to this..
playhouse/plugins/graphql-backend-module-catalog/src/relationDirectiveMapper.ts
Lines 140 to 142 in 460162e
which it seems should not just be testing
!entity
cause with the loading function.playhouse/plugins/graphql-backend-module-catalog/src/entitiesLoadFn.ts
Lines 28 to 33 in 460162e
that maybe it should be testing to see if it's an instance of the Graphql Error?
Or are you intending to bubble that up?
The error that is shown there is
cause the entity is actually
which is the result of the
GraphQLError
I'm open to open a PR, but should I just add a
instance of GraphQLError
check where we are just checking for the!entity
?The text was updated successfully, but these errors were encountered: