vivmagarwal / strapi-plugin-custom-api-builder

36 stars 9 forks source link

Dynamic Zones are not Supported #20

Open nickhrm opened 1 year ago

nickhrm commented 1 year ago

When I try call and custom-api endpoint that includes a dynamic zone I get the following error:

error: selectt0.id,t0.Inhalt,t0.titelfromseitesast0- no such column: t0.Inhalt SqliteError: selectt0.id,t0.Inhalt,t0.titelfromseitesast0- no such column: t0.Inhalt at Database.prepare (C:\users\nick\strapi\node_modules\better-sqlite3\lib\methods\wrappers.js:5:21)

When I uncheck "inhalt", I dont get this error. "inhalt" is the only dynamic zone

This is what the content-type looks like: image

This is what the custom-api builder looks like: image

vivmagarwal commented 3 months ago

:( sorry for the delay! I have made and tested several changes to sync the plugin with the API changes in Strapi. Please see if it works now!

image image