Fusion compose losing input default values #7160
Labels
Area: Fusion
Issue is related to Hot Chocolate Fusion
🐛 bug
Something isn't working
🌶️ hot chocolate
Next
Next up on the backlog.
Milestone
Product
Hot Chocolate
Version
13.9.0
Link to minimal reproduction
https://github.com/user-attachments/files/15785898/gateway.zip
Steps to reproduce
Schema subgraph before compose
input cms_VideoCreateModelInput { guid: UUID! title: String! fileUploadState: cms_FileUploadState! = UPLOADING isLoopVideo: Boolean! = false }
Schema gateway after compose
input cms_VideoCreateModelInput { fileUploadState: cms_FileUploadState! guid: UUID! isLoopVideo: Boolean! title: String! }
What is expected?
To have same default values in gateway as in original subgraph schema
fileUploadState: cms_FileUploadState! = UPLOADING
isLoopVideo: Boolean! = false
What is actually happening?
It seems there is some kind of issue in fusion that when composing subgraph it loses the default input vales
gateway.zip
Relevant log output
No response
Additional context
Same result with nullable fields.
The text was updated successfully, but these errors were encountered: