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(openapi): change parameter name from 'productId' to 'productHandl… #86

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

jamalsoueidan
Copy link
Owner

…e' in openapi.yaml and index.yaml

feat(schedule.types): add 'productHandle' property to ScheduleProductZodSchema
fix(product.schema): add 'productHandle' field to ProductSchema
fix(user-product.function): change parameter name from 'productId' to 'productHandle' in route definition
fix(user-product.function): change parameter name from 'productId' to 'productHandle' in request query
fix(user-product.function): change parameter name from 'productId' to 'productHandle' in controller
feat(user-product.function): create UserProductServiceGet function to retrieve product by productHandle
feat(user-product.function): add UserProductsControllerGet handler to call UserProductServiceGet
feat(user-product.function): add UserProductsControllerGetQuerySchema to validate request query
feat(user-product.function): update UserProductsControllerGet to use UserProductServiceGet
feat(user-product.function): add UserProductsController

…e' in openapi.yaml and index.yaml

feat(schedule.types): add 'productHandle' property to ScheduleProductZodSchema
fix(product.schema): add 'productHandle' field to ProductSchema
fix(user-product.function): change parameter name from 'productId' to 'productHandle' in route definition
fix(user-product.function): change parameter name from 'productId' to 'productHandle' in request query
fix(user-product.function): change parameter name from 'productId' to 'productHandle' in controller
feat(user-product.function): create UserProductServiceGet function to retrieve product by productHandle
feat(user-product.function): add UserProductsControllerGet handler to call UserProductServiceGet
feat(user-product.function): add UserProductsControllerGetQuerySchema to validate request query
feat(user-product.function): update UserProductsControllerGet to use UserProductServiceGet
feat(user-product.function): add UserProductsController
…duct types

The productHandle property is added to the upsert body and base-product types in order to support handling products by their handle in addition to their ID. This allows for more flexibility in identifying and manipulating products in the system.
@jamalsoueidan jamalsoueidan merged commit eb1011d into main Nov 30, 2023
2 checks passed
@jamalsoueidan jamalsoueidan deleted the use-product-handle-get-product branch November 30, 2023 06:33
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.

1 participant