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

feat(populate): alias fields with arguments #3473

Closed

Conversation

JoviDeCroock
Copy link
Collaborator

@JoviDeCroock JoviDeCroock commented Dec 23, 2023

Relates to #964

Summary

This adds aliasing to fields that we have seen before with arguments, this checks whether we've seen a certain type + field before and if so it will be aliased. This however can become problematic in the case of interfaces, we might need to either always alias (breaking change), or check for possible-types who have queried this before... Not sure whether we want to solve this off the bat but just spitballing idea's

@JoviDeCroock JoviDeCroock requested a review from kitten December 23, 2023 09:45
Copy link

changeset-bot bot commented Dec 23, 2023

🦋 Changeset detected

Latest commit: 4c18bbb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@urql/exchange-populate Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@JoviDeCroock JoviDeCroock deleted the populate-alias-with-args branch March 17, 2024 08:26
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