Skip to content
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

Updated API tests to use strongly-typed Event Store type #159

Merged
merged 2 commits into from
Dec 29, 2024

Conversation

oskardudycz
Copy link
Collaborator

Previously, it was always taking the Event Store implementation, which was forcing to do casting while setting up, which was not great.

Fixed also Event Store wrapper to just override the needed methods passing the rest as they are. Without it, even store extensions (like MongoDB projections API) wouldn't work.

Removed event store wrapper usage from E2E tests, as it was redundant: checks are only made on responses.

Previously it was always taking the Event Store implementation which was forcing to do casting while setting up, which was not great.

Fixed also Event Store wrapper to just override the needed methods passing the rest as they are. Without it, event store extensions (like MongoDB projections api) wouldn't work.

Removed event store wrapper usage from E2E tests, as it was redundant: checks are only made on responses.
@oskardudycz oskardudycz added enhancement New feature or request testing typing labels Dec 29, 2024
@oskardudycz oskardudycz added this to the 0.23.0 milestone Dec 29, 2024
@oskardudycz
Copy link
Collaborator Author

@thiagomini FYI.

@oskardudycz oskardudycz merged commit ba8f0f5 into main Dec 29, 2024
4 checks passed
@oskardudycz oskardudycz deleted the api_tests_event_store_typed branch December 29, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant