Skip to content

Add model definition comparing EmberData models with SchemaRecord #20

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

Conversation

MehulKChaudhari
Copy link
Member

This PR adds a new section to the cheat sheet comparing traditional EmberData model definitions with the new SchemaRecord approach. It shows the syntax differences and how relationships are handled in both paradigms.

  • Adds model definition examples (old vs new)
  • Shows inheritance and polymorphic relationships
  • Demonstrates derived properties in both approaches

Copy link

netlify bot commented Apr 21, 2025

Deploy Preview for request-service-cheat-sheet ready!

Name Link
🔨 Latest commit 4e84032
🔍 Latest deploy log https://app.netlify.com/sites/request-service-cheat-sheet/deploys/6808b347eb0bcd00086cad1c
😎 Deploy Preview https://deploy-preview-20--request-service-cheat-sheet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

MehulKChaudhari and others added 3 commits April 23, 2025 14:59
Co-authored-by: Chris Thoburn <runspired@users.noreply.github.com>
Co-authored-by: Chris Thoburn <runspired@users.noreply.github.com>
Co-authored-by: Chris Thoburn <runspired@users.noreply.github.com>
@jaredgalanis jaredgalanis merged commit 6f7e1f2 into ember-learn:main Apr 28, 2025
6 checks passed
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.

3 participants