--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: js/multiparser-graphql/graphql.js --- # Input ```js graphql(schema, ` mutation MarkReadNotificationMutation( $input : MarkReadNotificationData! ) { markReadNotification(data: $input ) { notification {seenState} } }`) ``` # Prettier differences ```diff --- Prettier +++ Rome @@ -1,12 +1,9 @@ graphql( schema, ` - mutation MarkReadNotificationMutation($input: MarkReadNotificationData!) { - markReadNotification(data: $input) { - notification { - seenState - } - } - } - `, +mutation MarkReadNotificationMutation( + $input + : MarkReadNotificationData! + ) +{ markReadNotification(data: $input ) { notification {seenState} } }`, ); ``` # Output ```js graphql( schema, ` mutation MarkReadNotificationMutation( $input : MarkReadNotificationData! ) { markReadNotification(data: $input ) { notification {seenState} } }`, ); ```