Skip to content

Commit

Permalink
Make copy of cached fields so they don't get polluted
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsmith committed Mar 19, 2024
1 parent f423023 commit 024a6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Foundatio.Parsers.SqlQueries/SqlQueryParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public SqlQueryVisitorContext GetContext(IEntityType entityType)
Configuration.SetValidationOptions(validationOptions);
return new SqlQueryVisitorContext
{
Fields = fields,
Fields = fields.ToList(),
ValidationOptions = validationOptions
};
}
Expand Down

0 comments on commit 024a6a1

Please sign in to comment.