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 additional custom-field examples, showing nesting and JSON #8483

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

dcousens
Copy link
Member

@dcousens dcousens commented Apr 13, 2023

This pull request adds alternative approaches for the 3-pair example in the custom-field demonstration.
Two additional custom fields have been added, resulting in the 3-pair-* suite containing the following:

  • 3-pair - a field with one Admin UI input field, one GraphQL type, and two columns in the database
  • 3-pair-nested - a field with two Admin UI input fields, distinct GraphQL fields, and two columns in the database
  • 3-pair-json - a field with two Admin UI input fields, distinct GraphQL fields, and one column in the database

This helped me answer some questions I had, hopefully it helps others too.

@changeset-bot

This comment was marked as resolved.

@dcousens dcousens force-pushed the examples-3-pair-types branch from c467c5c to a685dac Compare April 13, 2023 04:34
@codesandbox-ci
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 a685dac:

Sandbox Source
@keystone-6/sandbox Configuration

@dcousens dcousens enabled auto-merge (squash) April 13, 2023 04:56
@dcousens dcousens merged commit 7e0d592 into main Apr 13, 2023
@dcousens dcousens deleted the examples-3-pair-types branch April 13, 2023 04:57
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.

2 participants