Tag: strapi
-
How to design the workflow with Strapi / GraphQL / Nuxt 3 without Introspection
0 Sorry for the silly question, I’m new to all this and this is my last resort… I haven’t received any answers on Discords and the like. I want to set up a Strapi CMS with GraphQL for a Nuxt 3 frontend. I’ve successfully hosted this on DigitalOcean – the connection is established correctly and…
-
Cannot query actual values “_blank” with underscore via graphql in Strapi
0 I create Enumeration values with underscore in Strapi, such as "_blank", "_self", and then query these values via graphql, the returned value is "blank", but if I query the value via RestApi, the returned value is "_blank". create enumeration in Strapi How can I query the actual value "_blank" via graphql in Strapi? graphql…
-
Is it possible to query the Collection-Types of strapi
2 Is it possible to query a list of Collection-Types in Strapi? The following example: I have three Collection-Types: Restaurant Stores Events The client application does not know which Collection-Types exist and I want to query them dynamically: Example response { contentTypes: [ { name: "Restaurant" }, { name: "Stores" }, { name: "Events" }…
-
Using await useAsyncQuery() is returning null in the browser but shows the data value in terminal when console.log(data.value)
0 I’m using Nuxt 3 and fetching data from Strapi with Apollo and graphQL. I have used this similar setup with Prepr in the past with no issues. My GraphQL query is correct and it is returning data but the problem is in the timing. here’s the code I’m using in my page in Nuxt…
-
Strapi 4 and NuxtJS: Unable to connect via GraphQL (ECONNREFUSED)
2 I am building a small blog application using NuxtJS, Strapi 4 (and GraphQL) and apollo. To do that, i followed this tutorial: https://www.youtube.com/watch?v=yDkoV-8krcA The problem is for some reason NuxtJS is unable to connect to Strapi. I get the following error message: Network error: request to https://localhost:1337/graphql failed, reason: connect ECONNREFUSED ::1:1337 Strapi is…
-
ERROR #11321 PLUGIN “gatsby-source-strapi” gives error while running the sourceNodes. gatsby develop runs successfully but gatsby build fails
0 ERROR #11321 API.NODE.EXECUTION "gatsby-source-strapi" threw an error while running the sourceNodes lifecycle: Request failed with status code 404 AxiosError: Request failed with status code 404 settle.js:19 settle [FEtest]/[gatsby-source-strapi]/[axios]/lib/core/settle.js:19:12 http.js:570 IncomingMessage.handleStreamEnd [FEtest]/[gatsby-source-strapi]/[axios]/lib/adapters/http.js:570:11 node:events:526 IncomingMessage.emit node:events:526:35 readable:1359 endReadableNT node:internal/streams/readable:1359:12 task_queues:82 processTicksAndRejections node:internal/process/task_queues:82:21 error #11321 api.node.execution "gatsby-source-strapi" threw an error while running the sourcenodes lifecycle: request failed…
-
Strapi – Delete an item from nested repeatable component
0 I would like to know if it is possible to delete an item from a nested object via API or graphQL. I have a collection type (restaurant) with a repeatable component inside called "franchise" (Florida and New York). I would like to delete just one of those (Florida for example). Is that possible? API…
-
Strapiv4 & apollo graphql, sort results by multiples dates
0 I have a list of articles, which have several dates attached to them : publishedAt (default date generated by strapi when article created) date (manual date user can enter to alter the default date) updateDate (manual date user can enter to print a second date, mentioning that the article was updated, and when) Basically…
-
Are graphql codegen types correct
0 I’m trying to create a simple next app with typescript using Strapi as a headless CMS. I just want to use Strapi and graphql with typescript to show something in the next app. In Strapi I simply have a Color Content type with two colors, red and blue I have graphql set up in…