Skip to main content

Posts

Showing posts from June, 2020

Define your own Custom GraphQL schema in Sitecore GraphQL

As more and more usage of Sitecore JSS with Javascript frameworks like React JS, Vue.JS and Angular JS, it is very important know that GraphQL is becoming mandatory for Enterprise Applications. In an Enterprise Application, querying different API with different kinds of integration of back-end system is very important. Sitecore GraphQL plays a very important role in this regard. If you are new to Sitecore GraphQL and wanted to know how to set it up , Click Here for the link where I have documented step by step approach to set up on Sitecore. Let's proceed further. What is Graphql Schema? Schemas describe the way that data is organized and constructed. A GraphQL schema defines the types and the fields available on each type, which can include references to other types. You can use a schema provider to add self-contained pieces of a schema.  If you want to add a new root query and your type system does not depend on any other schema provider’s types, you must select a