Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Ground Controller Lvl 1
Message 1 of 2

GraphQL Union and Interface Example - help needed

I am looking for an example on GraphQL Union and Interface. Appreciate if any one can help by providing an example or link that shows how to define a query and resolvers for Union and Interface.

Thanks and regards,

Ram

1 Reply
GitHub Staff
Message 2 of 2

Re: GraphQL Union and Interface Example - help needed

Hi @ramprasad2018,

 

Can you give me a bit more information about what you're looking for?

 

Here are some good blog posts about Interfaces and Unions: 

 

- https://medium.com/the-graphqlhub/graphql-tour-interfaces-and-unions-7dd5be35de0d

https://graphqlmastery.com/blog/graphql-interfaces-and-unions-how-to-design-graphql-schema

https://docs.aws.amazon.com/appsync/latest/devguide/interfaces-and-unions.html

 

If you're looking for examples in the GitHub API, I can also help there as well?