Skip to content

feat(Conversation): use the new field to improve order fetching in a convo - #17512

Merged
araujobarret merged 1 commit into
mainfrom
araujobarret/feat/improve-order-fetching-convo
Jul 27, 2026
Merged

feat(Conversation): use the new field to improve order fetching in a convo#17512
araujobarret merged 1 commit into
mainfrom
araujobarret/feat/improve-order-fetching-convo

Conversation

@araujobarret

@araujobarret araujobarret commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

The type of this PR is: Feat

This PR solves TOP-325

Description

Use isPurchased field for PartnerOfferCollectorType to check if an order was completed from it
Use collectorPartnerOffersConnection instead of me#partnerOffersConnection, optimizing the data we fetch

cc @artsy/topaz-devs

@araujobarret araujobarret self-assigned this Jul 23, 2026
}
const CONVERSATION_FRAGMENT = graphql`
fragment ConversationsContext_conversation on Conversation {
collectorPartnerOffersConnection(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

muuuch nicer ✨

@jpotts244 jpotts244 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice improvement!!

@araujobarret
araujobarret merged commit 7d52a91 into main Jul 27, 2026
18 checks passed
@araujobarret
araujobarret deleted the araujobarret/feat/improve-order-fetching-convo branch July 27, 2026 07:11
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.

3 participants