AndreasFaust / gatsby-source-custom-api

Source data from any API and transform it to (File-)Nodes.
52 stars 25 forks source link

Does that work with gatsby v4? #35

Closed MuhammadHadiofficial closed 2 years ago

MuhammadHadiofficial commented 2 years ago

Any reference to migrate this to gatsbyv4?

cdennington commented 2 years ago

I just updated a project using this plugin happily to the latest version including GatsbyV4

image

I'm now seeing the following warnings when running gatsby develop:

image image

And within my images object local is now null:

image

This is how Ive set up the endpoints in Gatsby config:

image

This was working as expected in Gatsby 3.7.0

I haven't looked any further into the warning to see if that is the issue stopping the images from working

cdennington commented 2 years ago

Further investigation, updating to createSchemaCustomization in gatsby-node fixes the issues, and images are now loading as expected.

Pull request created: https://github.com/AndreasFaust/gatsby-source-custom-api/pull/42/files

AndreasFaust commented 2 years ago

Merged and released version 2.3.5.