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

Remove assertion if model has no find method in implicit record loading #19840

Closed
wants to merge 4 commits into from

Conversation

snewcomer
Copy link
Contributor

@snewcomer snewcomer commented Nov 13, 2021

#19545
emberjs/data#7744 (comment)

There is no find method on model class instances. Ideally this change to early return was made when ember-data removed the find method from model instances - see here for old definition.

@snewcomer snewcomer closed this Nov 13, 2021
@snewcomer snewcomer deleted the sn/no-find-2 branch November 13, 2021 16:28
@snewcomer snewcomer restored the sn/no-find-2 branch November 13, 2021 16:29
@snewcomer snewcomer reopened this Nov 13, 2021
@snewcomer snewcomer changed the title Check if modelClass has a find method Remove assertion if model has no find method in implicit record loading Nov 15, 2021
@snewcomer
Copy link
Contributor Author

I guess other pkgs could have a a find method as well. Closing for now.

@snewcomer snewcomer closed this Nov 16, 2021
@snewcomer snewcomer deleted the sn/no-find-2 branch November 16, 2021 02:06
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

1 participant