Hello ,i want to merge two schema result for making nodes.Since graphql does not make the statement merge , i am trying this example...
type User {
id:ID!
User_ID:String!
Mobile_Number:String!
Name:String!
Email_Id:String!
Country_Id:String!
DOB:String!
Status:String!
Friends:[String!]!
settings:[Settings]
}
type Settings {
id:ID!
User_ID:String!
Auto_Check_In:String!
Notification:String!
Selected_Recommendation:String!
Status:String!
user:[User]
}
output-
{
"data": {
"users": [
{
"id": "0.55515894979673",
"User_ID": "2",
"Name": "kp",
"settings": null
}
]
}
}
i am expecting the value of settings should be merge in user data ..
Can anyone please guide me how to merge this two schema, or any other way to do so.