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

Update service.ts Type safet for updated Enttity #2712

Merged
merged 1 commit into from
Mar 4, 2024
Merged

Update service.ts Type safet for updated Enttity #2712

merged 1 commit into from
Mar 4, 2024

Conversation

arrrrny
Copy link
Contributor

@arrrrny arrrrny commented Mar 1, 2024

DeepPartial from typeorm and Vendure/core are different. This causes type issues on update. Type safe way is to use patchEntity.

Description

Please include a summary of the changes and the related issue.

Breaking changes

Does this PR include any breaking changes we should be aware of?

Screenshots

You can add screenshots here if applicable.

Checklist

📌 Always:

  • I have set a clear title
  • My PR is small and contains a single feature
  • I have checked my own PR

👍 Most of the time:

  • I have added or updated test cases
  • I have updated the README if needed

DeepPartial from typeorm and Vendure/core are different. This causes type issues on update.  Type safe way is to use patchEntity.
Copy link

netlify bot commented Mar 1, 2024

Deploy Preview for effervescent-donut-4977b2 ready!

Name Link
🔨 Latest commit 4542c56
🔍 Latest deploy log https://app.netlify.com/sites/effervescent-donut-4977b2/deploys/65e26718ad47760008c29dee
😎 Deploy Preview https://deploy-preview-2712--effervescent-donut-4977b2.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.

@michaelbromley michaelbromley merged commit 2e3be51 into vendure-ecommerce:master Mar 4, 2024
18 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.

2 participants