Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphql support #118

Open
jjohnlaw opened this issue Feb 4, 2021 · 3 comments
Open

Graphql support #118

jjohnlaw opened this issue Feb 4, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@jjohnlaw
Copy link

jjohnlaw commented Feb 4, 2021

Hi,

Im attempting to update your jason field with my JSON data (stringified) through graphql, but Im receiving the (unhelpful) error "Error: GraphQL error: Internal server error" when i call the mutation.

Do you know of any reason why the JASON field will not accept a string type when populated using graphql?

Additional info:

If i change the fieldtype from Jason to a Plain Text field the mutation runs successfully (as expected) and the field is populated:

Screenshot 2021-02-04 at 17 16 10

and then when i change the fieldtype back to Jason the data is displayed correctly:

image

So we know the data ima attempting to send is valid for your fieldtype.

@chasegiunta
Copy link
Owner

@jlaughton87 You're correct that Graphql support hasn't been added. I'm not familiar enough with Graphql to add it myself, but PRs are welcome.

@chasegiunta chasegiunta added the enhancement New feature or request label Feb 4, 2021
@jjohnlaw
Copy link
Author

jjohnlaw commented Feb 8, 2021

No worries, thanks for letting me know

@approached
Copy link

@jlaughton87 maybe this will help you #136

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants