New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Register comments connection on NodeWithComments #2290
base: develop
Are you sure you want to change the base?
Register comments connection on NodeWithComments #2290
Conversation
Code Climate has analyzed commit fa5cb24 and detected 0 issues on this pull request. View more on Code Climate. |
@chriszarate thanks for the PR! I ultimately want to get here! What I think needs to happen, still, is that Connections from/to Interfaces need to be able to also register edge Types for the specific relationships. For example, if we were to have a generic Types for the generic connection
Specific Types for the specific connections
This allows for Specific relationships to have specific edge data exposed in the Schema. For example, if we had some relational data only between Pages and Comments but not other post types, with the current PR we would have to expose the edge data to all I believe #1738 starts laying some of this ground work, but there's definitely more work to do in the Connections realm to get to this final destination. Happy to chat more about it and see what we can do to get there. Would be 🔥 to have the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. If you believe this issue is still valid, please open a new issue and mark this as a related issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. If you believe this issue is still valid, please open a new issue and mark this as a related issue. |
What does this implement/fix? Explain your changes.
Register comments connection on
NodeWithComments
interface instead of one individual post types.Does this close any currently open issues?
n/a
Any relevant logs, error output, GraphiQL screenshots, etc?
n/a
Any other comments?
I like interfaces. :)
Where has this been tested?
*Operating System: macOS
WordPress Version: 5.9