I have a plugin field which calculates a bunch of data according to a string value and makes it available as an object to admin and front end via the normalizeValue()
method in the plugin field class.
I want to make this data available via GraphQL but I believe the docs at https://craftcms.com/docs/3.x/extend/graphql.html require me to have an Element for each entry which is not the case. As I said, the data is just formatted for output with normalizeValue()
Can somebody give me some hints or point me in the direction of an example?
Add a comment
|