Skip to content

test with empty result cache #482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Nov 24, 2022
Merged

test with empty result cache #482

merged 19 commits into from
Nov 24, 2022

Conversation

staabm
Copy link
Owner

@staabm staabm commented Nov 23, 2022

refs #394 (comment)

should fix ReplayAndRecordingQueryReflector to report consistent results with RecordingReflector

@staabm staabm marked this pull request as ready for review November 24, 2022 16:47
@staabm
Copy link
Owner Author

staabm commented Nov 24, 2022

@noemi-salaun I think this should fix your problem mentioned in #394 (comment)

@staabm staabm merged commit c5e7b83 into main Nov 24, 2022
@staabm staabm deleted the empty-tests branch November 24, 2022 16:48
@@ -334,14 +331,7 @@ public function putResultType(string $queryString, int $fetchType, ?Type $result
$this->changes[$queryString]['result'][$fetchType] = $this->records[$queryString]['result'][$fetchType] = $resultType;
$this->cacheIsDirty = true;
}
}

private function isPHPStormSingleFileRun(): bool
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dropping the phpstorm workaround again. the workaround also made the terminal integration not persisting the cache anymore (no matter fullproject scan or not)

staabm added a commit that referenced this pull request Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant