I have created productAttributes module with the model product-attributes. The type of the productAttributesModuleService contains methods like createProductAttributess (notice 2 's' in the end) but once you try to use these methods you would get this error :
error: service.createProductDetailss is not a function
so you should change it to service.createProductDetails in order to make it work but the typescript shows you an error that function does not exist in that service
Bug report
Describe the bug
I have created productAttributes module with the model
product-attributes
. The type of theproductAttributesModuleService
contains methods likecreateProductAttributess
(notice 2 's' in the end) but once you try to use these methods you would get this error :so you should change it to
service.createProductDetails
in order to make it work but the typescript shows you an error that function does not exist in that serviceSystem information
Medusa version (including plugins): Node.js version: Database: Operating system: Browser (if relevant):
Steps to reproduce the behavior
Expected behavior
A clear and concise description of what you expected to happen
Screenshots
If applicable, add screenshots to help explain your problem
Code snippets
If applicable, add code samples to help explain your problem
Additional context
Add any other context about the problem here