X Tutup
Skip to content

Fix core error messages#7559

Closed
btford wants to merge 2 commits intoangular:masterfrom
btford:fix-core-error-messages
Closed

Fix core error messages#7559
btford wants to merge 2 commits intoangular:masterfrom
btford:fix-core-error-messages

Conversation

@btford
Copy link
Copy Markdown
Contributor

@btford btford commented Mar 11, 2016

WIP branch related to: #7481

@usernamealreadyis
Copy link
Copy Markdown

Issue moved to angular/a #9 via ZenHub.io

@btford btford force-pushed the fix-core-error-messages branch 3 times, most recently from 463cd42 to 9f9909d Compare March 22, 2016 00:21
@btford btford added the action: review The PR is still awaiting reviews from at least one requested reviewer label Mar 22, 2016
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I am wondering if instead of did you mean to bind we could say NgFor only supports binding to Iterables such as Arrays.?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

SGTM

@mhevery mhevery added pr_state: LGTM action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Mar 22, 2016
btford added 2 commits March 23, 2016 10:15
Before, you'd get an error like:

```
EXCEPTION: Cannot find a differ supporting object ‘[object Object]’ in [users in UsersCmp@2:14]
```

Now, you get:

```
EXCEPTION: Cannot find a differ supporting object ‘[object Object]’ of type 'Object'. Did you mean to bind ngFor to an Array? in [users in UsersCmp@2:14]
```
Part of angular#7481 (effort to improve error messages)
@btford btford force-pushed the fix-core-error-messages branch from 9f9909d to 9dfa1cc Compare March 23, 2016 17:23
@btford
Copy link
Copy Markdown
Contributor Author

btford commented Mar 23, 2016

Fixed.

@btford btford added action: merge The PR is ready for merge by the caretaker and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Mar 23, 2016
@mary-poppins
Copy link
Copy Markdown

User @kara does not have PR merging privileges.

@mary-poppins
Copy link
Copy Markdown

Merging PR #7559 on behalf of @kara to branch presubmit-kara-pr-7559.

@mary-poppins
Copy link
Copy Markdown

Merging PR #7559 on behalf of @kara to branch presubmit-kara-pr-7559.

@mhevery mhevery closed this in 6de68e2 Mar 24, 2016
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

X Tutup