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

Fix(core): Allow non-public customOrderLineFields in admin api #3357

Conversation

jacobfrantz1
Copy link
Contributor

Description

Previously, adjustDraftOrderLine and other admin mutation on order lines did not include non-public custom OrderLine fields. This fixes that. I think my issue is the same as issue #3342 and this should fix #3342.

I also filtered out internal fields, as custom fields simply marked internal were showing in the order line input for both admin and shop api.

Breaking changes

No known breaking changes

Screenshots

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

Copy link

vercel bot commented Feb 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Feb 10, 2025 4:52pm

@michaelbromley michaelbromley merged commit becfe9d into vendure-ecommerce:master Feb 11, 2025
30 of 31 checks passed
@michaelbromley
Copy link
Member

Thanks for the fix!

@github-actions github-actions bot locked and limited conversation to collaborators Feb 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom Fields Not Recognized in Admin UI When Adding Order Line
2 participants