Skip to content
Discussion options

You must be logged in to vote

Hey @valentin-harrang

Thanks for asking.

Since loved_language_insert_input schema is object wrapped around array structure, you'll need to pass like

objects: [ 
      // inside array structure
      {
          name: "Typescript",     // pass your actual object that you want to insert  (which matches schema)
      }
]

Please let me know if that doesn't work for you!

UPDATE (post-solved):
When you add column preset for column, then while performing insert mutation if you are passing value to that field via query variables, it will only accept the value which had been set in column preset. Hence, introspection query in graphiQL will show you validation failed error because that column has a…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@valentin-harrang
Comment options

@meetzaveri
Comment options

@valentin-harrang
Comment options

@meetzaveri
Comment options

@valentin-harrang
Comment options

Answer selected by catalinpit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants