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

Add an idPath to relationship field adapters #3741

Merged
merged 2 commits into from Sep 22, 2020
Merged

Add an idPath to relationship field adapters #3741

merged 2 commits into from Sep 22, 2020

Conversation

timleslie
Copy link
Contributor

This separate property makes more sense in the context of the upcoming prisma adapter where the id value is sometimes available directly on the idPath and at other times needs to be reach via the id property of a linked object at path.

In practice this code doesn't change the behaviour of the existing adapters in any way.

@changeset-bot
Copy link

changeset-bot bot commented Sep 22, 2020

🦋 Changeset is good to go

Latest commit: e940da7

We got this.

This PR includes changesets to release 1 package
Name Type
@keystonejs/fields Patch

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

@timleslie timleslie merged commit a02e699 into master Sep 22, 2020
@timleslie timleslie deleted the rel-db-path branch September 22, 2020 06:14
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.

None yet

2 participants