parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

required field on Parse Schema is not handled correctly on special types on the GQL API

Open Moumouls opened this issue 2 years ago • 5 comments

New Issue Checklist

Issue Description

When a special field like File is required on the Parse Schema, mutations fails because the GQL type is wrapped by a GraphQL Non Null type.

Steps to reproduce

Add a "required: true" to a special field like a field with a type "File", and attempt a mutation

Actual Outcome

Mutation fails, Parse fail to recognize correctly the special field.

Expected Outcome

Environment

Server

  • Parse Server version: 7.0.0
  • Operating system: MacOS
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): Local

Database

  • System (MongoDB or Postgres): Mongo
  • Database version: 6.0.2
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): FILL_THIS_OUT

Client

  • SDK (iOS, Android, JavaScript, PHP, Unity, etc): FILL_THIS_OUT
  • SDK version: FILL_THIS_OUT

Logs

Moumouls avatar Feb 07 '24 14:02 Moumouls

Thanks for opening this issue!

  • ❌ Please fill out all fields with a placeholder FILL_THIS_OUT, otherwise your issue will be closed. If a field does not apply to the issue, fill in n/a.

parse-github-assistant avatar Feb 07 '24 14:02 parse-github-assistant

🎉 This change has been released in version 7.0.0-alpha.30

parseplatformorg avatar Mar 20 '24 22:03 parseplatformorg

🎉 This change has been released in version 7.1.0-alpha.1

parseplatformorg avatar Mar 23 '24 00:03 parseplatformorg

🎉 This change has been released in version 7.1.0-beta.1

parseplatformorg avatar Jun 30 '24 02:06 parseplatformorg

🎉 This change has been released in version 7.1.0

parseplatformorg avatar Jun 30 '24 02:06 parseplatformorg