4 ms·
If you don't want to specify all properties, or can't know them ahead of time, you can create a JSON scalar type that will return an arbitrary object (https://g
by headcanon 8y ago
If you don't want to specify all properties, or can't know them ahead of time, you can create a JSON scalar type that will return an arbitrary object (https://github.com/taion/graphql-type-json https://github.com/taion/graphql-type-json).
Its of course much better to define your attributes ahead-of-time. It incurs more overhead initially but pays off immensely down the line.