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

build ember-data attribute debug info dynamically #4640

Merged
merged 1 commit into from Nov 11, 2016

Conversation

stefanpenner
Copy link
Member

@stefanpenner stefanpenner commented Nov 11, 2016

  • allow other relationship types (extend the web/ember-data forward!) to be first-class and not crash the inspector
  • improve tests
  • restore/support humanized titles
  • screenshot in inspector
  • get feedback

screen shot 2016-11-10 at 10 24 16 pm

* allow other relationship types to be first-class and not crash the inspector
* improve tests
@@ -46,3 +46,83 @@ test("_debugInfo groups the attributes and relationships correctly", function(as
assert.deepEqual(propertyInfo.groups[1].properties, ['maritalStatus']);
assert.deepEqual(propertyInfo.groups[2].properties, ['posts']);
});


test("_debugInfo supports arbitray relationship types", function(assert) {
Copy link
Member

Choose a reason for hiding this comment

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

small typo here, should be arbitrary

Copy link
Member Author

Choose a reason for hiding this comment

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

👍

@rwjblue
Copy link
Member

rwjblue commented Nov 11, 2016

This looks great to me!

@fivetanley
Copy link
Member

lgtm

@fivetanley fivetanley merged commit 7b45290 into master Nov 11, 2016
@fivetanley fivetanley deleted the enhance-attribute-debug-info branch November 11, 2016 23:09
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.

None yet

3 participants