Forum Discussion

Pragati11's avatar
Pragati11
Icon for Super User rankSuper User
10 months ago
Solved

GraphQL Update Issue

Hello Experts,   I am facing an issue on GraphQL. As I am working in a client environment, I can't get screenshots here; but will try to explain best I can. I have 2 tables in my fabric SQL Dat...
  • V-yubandi-msft's avatar
    V-yubandi-msft
    10 months ago

    Hi Pragati11 ,

    1. GraphQL’s refresh process can sometimes be inconsistent with detecting column changes. While new objects such as tables or views are typically recognized immediately, updates to existing tables may not always be reflected right away. In such cases, it may be necessary to manually refresh GraphQL’s metadata by removing and re-adding the table or performing a full source refresh.

     

    2. Pushing schema changes via Git updates the Fabric SQL database, but GraphQL maintains its own schema layer. Changes made through Git are not automatically communicated to GraphQL, so while it is not required to push changes to GraphQL via Git, you do need to refresh GraphQL to ensure the table structure is updated.

    Thank you for your time, and I hope this is helpful.

  • Pragati11's avatar
    Pragati11
    9 months ago

    Hi V-yubandi-msft 

    I did try removing the table and adding it again to the GraphQL. It did bring in the new columns but then it deleted the relationships that this table had with few other tables.

    So, for a workaround I tried bringing an additional table to GraphQL and refreshed the schema, it pulled the column updates for the table I made changes to.

     

    So coming to my last question.

    Do we have any ETA on if this will issue with the GraphQL metadata refresh will be fixed in future? 😊

     

     

  • V-yubandi-msft's avatar
    V-yubandi-msft
    9 months ago

    Hi Pragati11 ,

    Thank you for confirming and testing both approaches.

    Yes, removing and re adding the table is a known way to refresh the column metadata in GraphQL.
    Your workaround adding another table to trigger a broader schema refresh is clever and aligns with what other users have successfully tried.

    At this time, Microsoft has not announced a specific ETA for when GraphQL will fully support automatic column level schema updates without affecting relationships or requiring manual intervention.

     

    Since this behavior can impact client environments, I recommend raising a support ticket with Microsoft Fabric or using the Send Feedback option directly from your workspace. This helps bring more visibility to the issue and may contribute to prioritizing a fix
    How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn
    Learn about Microsoft Fabric feedback - Microsoft Fabric | Microsoft Learn

    Once you’ve reviewed this, please let us know which route you chose. It will help other users as well. Thanks.