-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Property 'display_id' does not exist on type 'OrderDTO'. #9768
Comments
@pixelwiese, perhaps you can use the |
@olivermrbl and this is the code i am using for retrieving the order: also tried it with the |
What exactly is your issue? Is it that the type doesn't have |
The Type does not have it and throws an error when i build the Backend. Just realized I misunderstood your last comment. |
Until we add
|
Add
display_id
to typeAdminOrder
in@medusajs/framework/types
Original Issue:
Bug report
Describe the bug
When i try to build the backend i get the error
Property 'display_id' does not exist on type 'OrderDTO'.
The property is accessed in a subscriber.
I checked the reference and could not see it there either. But in development i can still access the property and use it. It is also visible in the order json in the app.
System information
Medusa version (including plugins): 2.0.0
Node.js version: 20.10.0
Database: postgres
Operating system: Mac
Browser (if relevant): Chrome
Steps to reproduce the behavior
Expected behavior
The display_id should be in the OrderDTO and throw no error.
The text was updated successfully, but these errors were encountered: