# Mutation with entities

**URL:** <https://community.apollographql.com/t/mutation-with-entities/8084>\
**Category:** Schema Design\
**Created:** [January 13, 2025, 11:29am UTC](https://community.apollographql.com/t/mutation-with-entities/8084 "2025-01-13T11:29:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kanika](https://avatars.discourse-cdn.com/v4/letter/k/4bbf92/32.png) [@Kanika](https://community.apollographql.com/u/Kanika)\
**Post date:** [January 13, 2025, 11:29am UTC](https://community.apollographql.com/t/mutation-with-entities/8084/1 "2025-01-13T11:29:10Z")

</div>

Hi all,

I have apollo federation v2 setup.  
I have a use case where I need to add a mutation in one of the subgraph( say Subgraph 2)  
The data I need to update on server is being fetched in another subgraph ( Subgraph 1).

I have identified a key with which I can relate the two subgraphs and thats what my client is sending during mutation.  
I need to fetch data from Subgraph 1 based on this ID and then handle mutation in Subgraph2

I have identified that I can implement this based on common data sources which can be referred in both Subgraph1 and 2.

Is there a way I could query into Subgraph 1 from Subgraph2 and therefore be able to fetch the data from Subgraph1?

Has anyone solved such a use case, please share your views?
