GraphIQL Project with Spring boot and JPA . Resolver approch to get the sub class in parent class object
http://localhost:8080/graphiql
{ getAllPersons{ person_id name addressId address{ addres_id city pin } } }
{ getAllAddress{ addres_id house_no city pin } }
{ getPersonById(person_id:1){ person_id name email dob addressId address{ addres_id house_no city pin } } }