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

Implement @oneOf input types #146

Merged
merged 7 commits into from
Aug 9, 2024
Merged

Implement @oneOf input types #146

merged 7 commits into from
Aug 9, 2024

Conversation

captbaritone
Copy link
Owner

Support for the @oneOf RFC using syntax like:

/**
 * Models a node in a Markdown AST
 * @gqlInput
 * @oneOf
 */
type MarkdownNode =
  | { h1: string }
  | { h2: string }
  | { h3: string }
  | { p: string }
  | { blockquote: string }
  | { ul: string[] }
  | { li: string[] };

Copy link

netlify bot commented Aug 8, 2024

Deploy Preview for grats ready!

Name Link
🔨 Latest commit 9896e8b
🔍 Latest deploy log https://app.netlify.com/sites/grats/deploys/66b57c3cb7edb6000819ac01
😎 Deploy Preview https://deploy-preview-146--grats.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@captbaritone captbaritone force-pushed the oneOf branch 2 times, most recently from 396aa24 to 1367cd6 Compare August 8, 2024 22:54
@captbaritone captbaritone merged commit 3d61a2f into main Aug 9, 2024
15 of 16 checks passed
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