'GraphQL and Entity Graph both we can use at time in spring boot gradle?

I need to implement both graphql and entity graph is there any way. I tried my self but can't. At a moment only one thing be implemented.

My requirement is unwanted query don't be run in background and unwanted fields do not sent to UI.

we can use entity graph and projection dto. But i want use both graphql and entity graph is there any solution is there?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source