refactor(core): resolve circular dependencies by LukasBoll · Pull Request #2345 · eclipsesource/jsonforms

@LukasBoll

Eliminated circular dependencies in the core module and reorganized package structure.

Ref #2321

@netlify

@coveralls

Coverage Status

coverage: 83.269% (-0.07%) from 83.337%
when pulling 0b6758f on LukasBoll:resolve_dependencies
into c00b664 on eclipsesource:master.

lucas-koehler

Choose a reason for hiding this comment

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

Hi @LukasBoll , thanks for the PR ❤️
The changes already look mostly good to me and no more circular dependency warnings are shown :)
Besides two inline comments, I suggest renaming the folder stateToPropsMapper to simply mappers: Not all of the methods are mapping state to props but most of them map either state or dispatch to some kind of props or utility data structure.

@LukasBoll

Eliminated circular dependencies in the core module and reorganized package structure.

Ref eclipsesource#2321

@coveralls

Coverage Status

coverage: 83.26% (-0.08%) from 83.337%
when pulling 2dc1e47 on LukasBoll:resolve_dependencies
into c3cead7 on eclipsesource:master.

@LukasBoll

Hi @LukasBoll , thanks for the PR ❤️ The changes already look mostly good to me and no more circular dependency warnings are shown :) Besides two inline comments, I suggest renaming the folder stateToPropsMapper to simply mappers: Not all of the methods are mapping state to props but most of them map either state or dispatch to some kind of props or utility data structure.

Hi @lucas-koehler,

Thank you for the review! I updated everything according to your suggestions!

lucas-koehler

Choose a reason for hiding this comment

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

Thanks for the updates @LukasBoll ! LGTM now :)