Skip to content

Commit

Permalink
MINOR: change graphql codegen dir, force clear
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Carlino committed Dec 20, 2021
1 parent 6f5c752 commit a2dfd48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Dev/Build.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function build(HTTPRequest $request)
* @throws SchemaNotFoundException
* @throws SchemaBuilderException
*/
public function buildSchema($key = null, $clear = false): void
public function buildSchema($key = null, $clear = true): void
{
Schema::setVerbose(true);
$keys = $key ? [$key] : array_keys(Schema::config()->get('schemas'));
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Storage/CodeGenerationStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class CodeGenerationStore implements SchemaStorageInterface
* @var string
* @config
*/
private static $dirName = '.graphql';
private static $dirName = '.graphql-codegen';

/**
* @var string
Expand Down

0 comments on commit a2dfd48

Please sign in to comment.