Skip to content

Commit 4f56e59

Browse files
Use SortedDictionary for consistent order of persisted queries when writing relay format (#7078)
Co-authored-by: Michael Staib <[email protected]>
1 parent 909212a commit 4f56e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StrawberryShake/Tooling/src/dotnet-graphql/GenerateCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ private static async Task WritePersistedQueriesAsync(
209209
{
210210
if (relayFormat)
211211
{
212-
var map = new Dictionary<string, string>();
212+
var map = new SortedDictionary<string, string>();
213213

214214
foreach (var doc in result.Documents)
215215
{

0 commit comments

Comments
 (0)