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

bug(gatsby-source-strapi): updating a JSON fields gets lost #428

Open
laurenskling opened this issue May 16, 2023 · 1 comment
Open

bug(gatsby-source-strapi): updating a JSON fields gets lost #428

laurenskling opened this issue May 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@laurenskling
Copy link
Contributor

Describe the bug

In one of my models, I have a JSON field. When it changes content, the Node gets lost. It doesn't exist anymore in graphql..

To Reproduce

Steps to reproduce the behavior:

  1. create a model with a JSON field
  2. fill it with something that will match the isPlainObject
  3. start the project, change the data, make sure updatedAt (cloud) build runs.
  4. The data is lost. The Node is lost.

Expected behavior

I'm expecting the JSON Node to be alive with the new content.

System Info

System:
OS: macOS 12.6.5
CPU: (8) arm64 Apple M2
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.16.0 - /var/folders/50/3fndm5d13gs_kr96nwxpxd9c0000gn/T/yarn--1684222462858-0.5198471121130634/node
Yarn: 1.22.19 - /var/folders/50/3fndm5d13gs_kr96nwxpxd9c0000gn/T/yarn--1684222462858-0.5198471121130634/yarn
npm: 9.5.1 - /usr/local/bin/npm
Languages:
Python: 3.10.9 - /usr/local/bin/python
Browsers:
Chrome: 113.0.5672.92
Safari: 16.4.1

@laurenskling laurenskling added the bug Something isn't working label May 16, 2023
@visuvelu
Copy link

yes, facing the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants