Open dpehrson opened 7 years ago
Any updates on this? I'm seeing a different error.
I originally reported this so long ago that I imagine a lot has changed about the library since then.
This only came up for me during a proof-of-concept testing phase and I never ended up actually having to use it so I never bothered trying to fix it like with other issues.
@benwilson512 and @bruce are super responsive to issues if you can help narrow down the error case. Check out #83 for an example of what I've done in the past.
This is somewhere between a bug fix and a feature request. We mostly just need to make the connection
macro know about interfaces.
I may take a stab at this. Until then you can do:
interface :commentable do
field :comments, :comment_connection
end
Use case
Multiple node objects in my schema can be commented on, they should share a
comments
field which is relay connection ofcomment
nodes and a declared interface to allow for polymorphic querying.Expected results
I should be able to declare an interface with a field that is a relay connection for querying as such:
Actual results
Errors ðŸ˜