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(order): remove unnecessary filtering of line items in Order schema #94

Merged
merged 6 commits into from
Dec 11, 2023

Conversation

jamalsoueidan
Copy link
Owner

fix(get.spec.ts): change customerId assignment to use optional chaining and nullish coalescing operator
fix(get.ts): update query to use direct property access instead of $elemMatch
fix(list.spec.ts): change customerId assignment to use optional chaining and nullish coalescing operator
fix(list.ts): update query to use direct property access instead of $elemMatch
fix(paginate.ts): update query to use direct property access instead of $elemMatch
fix(order.schema.ts): remove unnecessary discriminator schemas and add indexes
fix(order.types.ts): update propertiesSchema transformation to use reduce and handle property names without underscore prefix

fix(order.ts): fix properties object syntax in getOrderObject function
feat(order.ts): refactor generateRandomDateRange function to return an object instead of an array

fix(get.spec.ts): change customerId assignment to use optional chaining and nullish coalescing operator
fix(get.ts): update query to use direct property access instead of $elemMatch
fix(list.spec.ts): change customerId assignment to use optional chaining and nullish coalescing operator
fix(list.ts): update query to use direct property access instead of $elemMatch
fix(paginate.ts): update query to use direct property access instead of $elemMatch
fix(order.schema.ts): remove unnecessary discriminator schemas and add indexes
fix(order.types.ts): update propertiesSchema transformation to use reduce and handle property names without underscore prefix

fix(order.ts): fix properties object syntax in getOrderObject function
feat(order.ts): refactor generateRandomDateRange function to return an object instead of an array
feat(shipping.function.ts): add shippingGet endpoint
feat(shipping.controllers.get.ts): create ShippingControllerGet and ShippingControllerGetSchema
feat(shipping.services.get.ts): create ShippingServiceGet function
test(shipping.services.get.spec.ts): add test for ShippingServiceGet function
@jamalsoueidan jamalsoueidan merged commit 8bcf760 into main Dec 11, 2023
2 checks passed
@jamalsoueidan jamalsoueidan deleted the change-properties-to-object branch December 11, 2023 23:15
@jamalsoueidan jamalsoueidan self-assigned this Mar 14, 2024
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