Closed megatrond closed 2 years ago
Many thanks for raising this bug report @megatrond. :bug: We will now attempt to reproduce the bug based on the steps you have provided.
Please ensure that you've provided the necessary information for a minimal reproduction, including but not limited to:
If you have a support agreement with Neo4j, please link this GitHub issue to a new or existing Zendesk ticket.
Thanks again! :pray:
For more context, this query also fails with the same error:
query queryScreenings {
screenings(
where: {
movieConnection: {
node: {
_on: {
NorwegianScreenableMeta: {
id: "52a26830-86f8-47b5-bcb5-4ebbf1df2a01"
}
}
}
}
}
) {
beginsAt
movie {
id
}
}
}
Simplified schema definition to reproduce the issue:
type Screening {
id: ID! @id
interface: MyInterface! @relationship(type: "INTERFACE_CONNECTION", direction: OUT)
}
interface MyInterface {
id: ID! @id
}
type MyImplementation implements MyInterface {
id: ID! @id
}
and query:
query queryScreening {
screenings(where: { interfaceConnection: { node: { id: "some-id" } } }) {
id
interface {
id
}
}
}
We've been able to confirm this bug using the steps to reproduce that you provided - many thanks @megatrond! :pray: We will now prioritise the bug and address it appropriately.
This bug report has been assigned high priority to fix. If you wish to contribute a fix, please branch from master
and submit your PR with the base set to master
. Thanks!
@megatrond, I realise this has been open for a little while, but is this a blocker for you? This is turning out to be a nastier bug than we would have hoped.
Not blocking, we found a way around it for now 👍
Not blocking, we found a way around it for now 👍
That's good to hear, apologies for the slow follow-up!
Hello everyone,
I assume that this is not fixed, is it?
Hi @farhadnowzari @megatrond This is actually fixed in version 3.6.0 as part of a major refactor on connection translation. Sorry, we didn't realize this was fixed as part of that and didn't notify, I'll close this issue
Describe the bug When using the
where: connection
filter option, and the connection is to an interface, the query failsType definitions
and query:
To Reproduce
INTERNAL_SERVER_ERROR
with the following stacktraceExpected behavior Return all screenings that are connected to the movie specified by the id
System (please complete the following information):
Additional context If we don't use interfaces, this works as expected