Skip to content

Conversation

yaacovCR
Copy link
Contributor

@yaacovCR yaacovCR commented Aug 6, 2025

This PR updates our predicates to rely on a brand check rather than instanceof.

We still pass brand check to our instanceOf utility and in development mode use the same logic as previously to throw our error with multiple instances of graphql.

@yaacovCR yaacovCR requested a review from a team as a code owner August 6, 2025 10:23
@yaacovCR
Copy link
Contributor Author

yaacovCR commented Aug 6, 2025

image

@yaacovCR yaacovCR added the PR: feature 🚀 requires increase of "minor" version number label Aug 6, 2025
@yaacovCR yaacovCR force-pushed the use-brand branch 4 times, most recently from 5c673b9 to cfb5e91 Compare August 8, 2025 09:55
@yaacovCR yaacovCR changed the title predicates: use brand check in production predicates: use symbol based brand check instead of instanceof Aug 8, 2025
@yaacovCR yaacovCR changed the title predicates: use symbol based brand check instead of instanceof predicates: replace instanceof with symbol based brand check Aug 8, 2025
@yaacovCR yaacovCR merged commit 02d302e into graphql:next Aug 8, 2025
16 checks passed
@yaacovCR yaacovCR deleted the use-brand branch August 8, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: feature 🚀 requires increase of "minor" version number
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants