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

Remove the dynamic customer query #15

Merged
merged 1 commit into from
Sep 17, 2023

Conversation

stefanolsen
Copy link
Collaborator

This PR remove one of the two customer data GraphQL queries. Specifically the one that returns a dynamic ExpandoObject. Instead the typed method now uses the AdditionalData bucket property to hold all the customer properties.

When there is only one query, only one cache entry will be stored. So if there are more than one criteria to evaluate, it all becomes more efficient.

@stefanolsen stefanolsen self-assigned this Sep 4, 2023
@stefanolsen stefanolsen linked an issue Sep 4, 2023 that may be closed by this pull request
@andrewmarkham andrewmarkham merged commit 0f506e9 into main Sep 17, 2023
1 check passed
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.

Some GraphQL queries are inefficient
2 participants