Given the following interface, where customFields
is just a dictionary dynamically populated by the user...
how can I represent it on a gql schema?
interface CustomThing {
id: string;
customFields: {
[key: string]: unknown;
}
}
The question is more
how can I represent { [key: string]: unknown }
in graphql?