Skip to content

Conversation

eneufeld
Copy link
Member

  • remember path as propsPath
  • use propsPath when passing

* remember path as propsPath
* use propsPath when passing
@eneufeld eneufeld requested a review from edgarmueller May 10, 2019 16:10
@edgarmueller
Copy link
Contributor

@eneufeld Build is failing

@edgarmueller edgarmueller added this to the 2.3.0 milestone May 13, 2019
@coveralls
Copy link

coveralls commented May 13, 2019

Coverage Status

Coverage decreased (-0.03%) to 85.55% when pulling 892772f on eneufeld:fix/angular-object-renderer into 5797369 on eclipsesource:master.

Copy link
Contributor

@edgarmueller edgarmueller left a comment

Choose a reason for hiding this comment

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

The change works fine, thanks. I've left some comments regarding testing.

@@ -32,11 +32,13 @@ import {
MatFormFieldModule,
MatInputModule
} from '@angular/material';
import { BrowserDynamicTestingModule } from '@angular/platform-browser-dynamic/testing';
import { MockNgRedux } from '@angular-redux/store/lib/testing';
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be imported from @angular-redux/store/testing

entryComponents: [
TextControlRenderer,
VerticalLayoutRenderer,
GroupLayoutRenderer
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we have an assert condition that is explicit about the change? It seems rather funny to me that adding the GroupLayoutRenderer fixes the issue. Maybe we could check whether the renderered result contains a Group/Card component?

@edgarmueller edgarmueller merged commit 6d47961 into eclipsesource:master May 15, 2019
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.

3 participants