Skip to content

Example for Union Types #1772

Answered by jasonbahl
Poolshark asked this question in Q&A
Mar 12, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

@Poolshark I would start with the documentation for register_graphql_union here: https://www.wpgraphql.com/functions/register_graphql_union_type/

There's some explanation of their utility and some code snippets that should help you get started adding Unions to your Schema.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Poolshark
Comment options

Answer selected by jasonbahl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants