nystudio107/craft-code-field

[FR] - GraphQL access is not supported

aladrach opened this issue · 4 comments

Describe the bug

We converted some one of our previous text fields, which was used in a Neo block. After converting and attempting to utilize the field's data via GraphQL, we receive the following error:
Error: String cannot represent value: instance of nystudio107\codefield\models\CodeData

To reproduce

Steps to reproduce the behaviour:

  1. Covert plain text field to Code field
  2. Try to call field via GraphQL

Versions

  • Plugin version: 4.0.2
  • Craft version: 4.3.1

Ah yes, that makes sense. There's no type/resolver for it yet

Ah, well that makes sense. Suppose this may be better suited for a feature request then haha.

If you have any issues, let me know @aladrach