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

Schema validation: input objects #231

Closed
ghostdogpr opened this issue Feb 22, 2020 · 2 comments · Fixed by #244
Closed

Schema validation: input objects #231

ghostdogpr opened this issue Feb 22, 2020 · 2 comments · Fixed by #244
Labels
good first issue Good for newcomers server Issue related to caliban server

Comments

@ghostdogpr
Copy link
Owner

ghostdogpr commented Feb 22, 2020

In Validator.validateSchema, verify the rules for input object types

  1. An Input Object type must define one or more input fields.
  2. For each input field of an Input Object type:
    1. The input field must have a unique name within that Input Object type;
      no two input fields may share the same name.
    2. The input field must not have a name which begins with the
      characters {"__"} (two underscores).
    3. The input field must accept a type where {IsInputType(inputFieldType)}
      returns {true}.
@mriceron
Copy link
Contributor

I can work on this if no ones is

@ghostdogpr
Copy link
Owner Author

@mriceron sure! 👍

@ghostdogpr ghostdogpr added server Issue related to caliban server core labels Sep 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers server Issue related to caliban server
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants