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

Virtual Input #9139

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open

Conversation

ggpwnkthx
Copy link
Contributor

Core changes made so that virtual field types can now handle generic JSON input values that can be used by their respective hooks.

The virtual-field example has also been updated to show the use case of where Tag records, as they relate to Post records, are orderable. The tags field of the Post list will output the Tag records in the order specified by first querying the explicit relationship list, PostTags. If an array of Tag records are provided in the tags field of a Post mutation, whatever order they are in is how they will be reordered for that Post.

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit b66e4eb:

Sandbox Source
@keystone-6/sandbox Configuration

@dcousens dcousens self-requested a review May 11, 2024 11:19
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