score:1
Accepted answer
if [array] is array of object you need to do that.
`
type productattributes {
id: int!
name: string!
position: string!
visible: boolean!
variation: boolean!
options: [string!]
}
`
if [array] is an array of the array then in every last inner array should object or string take as above. and you can process these steps till the last array. now in your case array of string so you can use direct string type.
Source: stackoverflow.com
Related Query
- How to iterate json nested array in graphql scheme
- How to iterate JSON nested array in REACT JS API call?
- How to setState of nested JSON array object of mapped input
- How to iterate through an array of objects from json in React.js
- Iterate through a nested json object array in the render (ReactJS)
- How to iterate through array that is value of key in JSON
- How to display nested array data in JSON in ReactJS?
- How can I access JSON property of nested object inside object array
- How to Sort Dates, Numbers, Strings from the array of nested JSON objects in Javascript
- How to iterate through the array inside json object
- how to iterate in nested array
- How to map nested array in gatsby with reactjs and graphql
- How to fetch Json nested and Make it Array of object in React
- How to iterate over an array of nested objects that seems to be paginated?
- How to use setState with nested JSON array object
- How to iterate json consists of array elements
- How can I iterate over an array of json object in Reactjs?
- How do i turn a nested JSON object to an array Spring boot?
- How to filter and highlight text in the Dynamic nested array of JSON objects based on text match incase sensitive
- How to filter Dynamic nested array of JSON objects based on text match with both upper and lower case
- How to iterate through a JSON array and display specific information based on an API response value in React?
- How to iterate through nested document passed as a json body, and update every document in a collection
- how to iterate through nested object which is inside an array in javascript
- How to iterate over array nested in object as props
- How to save an array of JSON objects (with nested objects) to state in React
- How to filter on ANTD table when the column is a JSON array instead of a string
- How do I iterate nested arrays in a React component?
- How to render nested array elements in React?
- How to iterate nested objects and render inside jsx?
- React: How to convert JSON Object to Array and render it?
More Query from same tag
- Second action call taking old store data
- Is there a way to check if a lazy-loaded component (with React.Lazy) has finished loading?
- Application Error Deploying create-react-app on Heroku
- Info.plist file for react native ios app using expo SDK
- How to detect window size in Next.js SSR using react hook?
- Is there any React Carousel library support load more (fetch new items from server) when users move to the last item?
- React- How to preserve javascript when rendering server side
- Setting a key prop on a component
- How to push values correctly into an array of objects
- One react app imported into another react app?
- How can i change button style dynamically in React?
- React creating JSX from state showing error
- How do I pass a useState function into a component from context?
- React nested route page not rendering properly as expected
- Passing a variable from a jade file to a React Component
- Fetch certain information on click from api and have it stop after 10 clicks
- React - nothing was returned from render
- React Flux dispatcher vs Node.js EventEmitter - scalable?
- How render a value for input field in expressJS
- Including image assets referenced in JSX in Webpack
- How to pass multiple components to another component in react
- get data from an api and store it in a state, but the state still shows undefined
- CORS error while authorize application to call API Azure AD?
- How to modify a list in ReactJS?
- Api fetch responses Blob structure in React Native app
- in this code if coonditiion is failed then it should return the statment after if block but iam getting blank page can anyone help me
- I want to add a validation to restrict input value, the value has to be less than 5 if it greator that 5 it should show error
- How to test the style inside the CSS class for React component using Jest and Enzyme?
- antd v4 - Steps and Form
- How do i extract the image extension from URL even if some URL has no extension?