I am trying to create a Hasura Action that takes an input with a nested type. I researched on this topic and according to Hasuras GitHub nested types are now a supported feature of Hasura. Anyways, when trying to create my action I get the error: "code": "invalid-configuration", "error": "Inconsistent object: in action "create_organisation"; the type: "Contact" is not defined in custom types or it is not a scalar/enum/input_object"
My action config is attached here. Contact is defined and all its members are just plain strings. So what am I doing wrong?
Nested datatype in input variable of Hasura Action
200 Views Asked by raweber At
1
There are 1 best solutions below
Related Questions in GRAPHQL
- How to define Relay fragment for GraphQLList of GraphQLObjectType?
- relayjs: Attempted to add an ID already in GraphQLSegment:
- Authorization in GraphQL servers
- How does graphql-java library execute Relay requests?
- GraphQL or REST
- relayjs and graphql error: Error: "Node" expects field "id"
- unable to render nested props from Github's GraphQL
- Single-Page App Sharing Relay Variables
- Relay and ReactJS give an error when connecting to Github's GraphQL
- Why does Relay need a mutation id to reconcile GraphQL mutations?
- GraphQL mutation operation in single transaction
- Documenting GraphQL short-hand model
- How to build a GraphQL API on top of a Django/Elasticsearch/MySQL backend?
- How to get all user model with GraphQL
- How to fetch data with apollo and react native
Related Questions in HASURA
- Type query_root must define one or more fields
- How can I integrate hasura postgre data into an existing Wordpress site?
- set default error messages for mutations in Hasura
- Composite Key support
- Hasura GraphQL query order by nested array relationships (with only one element)?
- How to connect to postgres read replica in Hasura
- Hasura on Google Cloud Run - Monitoring
- Graphql Error: Network Request Failed only in Android
- Cannot read property 'affected_rows' of undefined when trying to run an Hasura mutation
- Does Hasura 'Event Triggers' support triggers for their internal tables?
- GraphQL : Error while adding computed fields
- GraphQL : OverLoaded function error when adding a computed field
- Writing Postgres function for Hasura
- How to convert Postgres bytea to base64 string
- How to insert an object and related array objects in one mutation
Related Questions in NESTED-TYPES
- How can I retrieve the type a templated object was instantiated with?
- Can we declare interface inside a method?
- Optional chaining for typescript types
- How to process data including protected members using extension method in C#
- Why can the Swift compiler assign to a protocol-constrained type but can't when it's wrapped in another generic type?
- Swift cannot create array of tuples containing a nested type
- Elasticsearch nested type has risks?
- How can I deduce function template arguments of type std::bitset<N>::reference?
- How to use nested type of template base class in sub class?
- Why does Apple choose to use nested struct types to replace 'String' type parameter?
- Get "path" of nested types as string in Swift
- How do I Define a Countries Type with optional keys paired to types of countries in Typescript?
- Nested datatype in input variable of Hasura Action
- What is the output of the method with nested generic type? like IEnumerable<IEnumerable<int>> Calculate()
- Nested types in Swift
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
For passing 'Contact' in input params you have to define it with 'input' keyword.
This is working.