Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Include productId and customerId on order list id #3056

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

atorresveiga
Copy link
Contributor

@atorresveiga atorresveiga commented Jul 21, 2024

Description

This pull request introduces changes to the ListDescriptorUniqueIdentifier calculation to include both productId and customerId fields. This improvement will:

  • Improve cache utilization: By incorporating productId and customerId, the identifier will now uniquely represent lists based on these filters. This allows us to determine if cached data can be reused for specific product-customer combinations, potentially reducing API calls.
  • Enhance list differentiation: The updated identifier will clearly distinguish between lists with and without productId and customerId filters.

Testing

It is better to test this PR using the Woo PR

Copy link
Contributor

@ThomazFB ThomazFB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Reviewed through woocommerce/woocommerce-android#12094

@atorresveiga atorresveiga merged commit 98d94b3 into trunk Jul 24, 2024
13 checks passed
@atorresveiga atorresveiga deleted the issue/11796-update-list-description-id branch July 24, 2024 15:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants