Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the union in GraphQL?
Home
GraphQL
What is the union in GraphQL?
asked
Apr 10, 2023
in
GraphQL
by
Robindeniel
What is the union in GraphQL?
graphql-union
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Apr 10, 2023
by
Robindeniel
In GraphQL, sometimes we have to represent multiple objects, that's why the union is used. The user can define more than one type as return type using a union.
...