Skip to content

Commit

Permalink
fix invalid apollo key
Browse files Browse the repository at this point in the history
  • Loading branch information
hhxsv5 committed Mar 20, 2024
1 parent e0f2d99 commit f5123cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Components/Apollo/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ public function pullAllAndSave($filepath, array $options = [])
$configs[] = '# Namespace: ' . $config['namespaceName'];
ksort($config['configurations']);
foreach ($config['configurations'] as $key => $value) {
$key = preg_replace('/[^a-zA-Z0-9_.]/', '_', $key);
$configs[] = sprintf('%s=%s', $key, $value);
}
}
Expand Down

0 comments on commit f5123cc

Please sign in to comment.