I want to merge two schema result.Since Graphql does not make the merge statement for me. I have tried to make it myself but when i am trying to merge it is giving me null value ...
query{
users {
id
User_ID
Name
settings {
User_ID
Auto_Check_In
}
}
}
output:
{
"data": {
"users": [
{
"id": "0.55515894979673",
"User_ID": "2",
"Name": "kp",
"settings": null
}
]
}
}
Here is my schema
type User {
id:ID!
User_ID:String!
Mobile_Number:String!
Name:String!
Email_Id:String!
settings: [Settings]
}
type Settings {
id:ID!
User_ID:String!
Auto_Check_In:String!
Notification:String!
}
type RootMutation {
createdByUser(userInput:UserInput):User!
}