Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: repeatable Directive Output in SDL Generation#1738

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
kay-schecker wants to merge1 commit intoasync-graphql:master
base:master
Choose a base branch
Loading
fromkay-schecker:master

Conversation

@kay-schecker
Copy link

Summary

This PR corrects the SDL (Schema Definition Language) output for directives that are marked asrepeatable.

Details

  • Ensures that the keywordrepeatable is correctly included in the directive SDL representation whenis_repeatable is set totrue.
  • The output now conforms to the GraphQL specification for repeatable directives.

Additions

  • Added unit tests to verify correct SDL rendering:
    • test_repeatable_directive_dsl
    • test_non_repeatable_directive_dsl

Motivation

Previously, the SDL output omitted therepeatable keyword even when the directive was defined as repeatable. This led to incorrect or incomplete schema definitions. With this fix, the SDL generation is now accurate and spec-compliant.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@kay-schecker

[8]ページ先頭

©2009-2025 Movatter.jp