Skip to content

Refactoring to use SchemaFactory #26

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 2 commits into from
Jun 26, 2019

Conversation

moufmouf
Copy link
Member

@moufmouf moufmouf commented Jun 26, 2019

So far, the bundle declared all instances manually, duplicating the role of the SchemaFactory.
In time, this lead to various issues like #18.

This PR refactors the bundle to use the SchemaFactory. This will lead to less duplicated code and therefore less bugs.
Also, it drastically improves the code coverage.

Closes #18

moufmouf added 2 commits June 26, 2019 09:49
No services are injected in @FieldMiddlewarePipe. As a result, the @Logged and @right annotations are broken.

We might gain some stability by migrating to SchemaFactory usage in the bundle.

This PR starts with a failing test.

Closes thecodingmachine#18
So far, the bundle declared all instances manually, duplicating the role of the SchemaFactory.
In time, this lead to various issues like thecodingmachine#18.

This PR refactors the bundle to use the SchemaFactory. This will lead to less duplicated code and therefore less bugs.
Also, it drastically improves the code coverage.
@moufmouf moufmouf changed the title Refactoring schemafactory Refactoring to use SchemaFactory Jun 26, 2019
@moufmouf moufmouf merged commit ef21afb into thecodingmachine:master Jun 26, 2019
@moufmouf moufmouf deleted the refactoring_schemafactory branch June 26, 2019 12:29
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.

SchemaFactory
1 participant