Tag: http-status-code-404
-
How to handle dynamic routes, non existing pages and no existing data from GraphQL request in Astro project
-2 How do I solve the following issue in my Astro project: I can request the page content data for various pages from my GraphQL endpoint. I am using Apollo Client for this. Using the following query as an example: query Page($target: String!) { page(target: $target) { id type content { …on PageOne { id…
-
Astro dynamic routing (SSR mode) and 404 page
0 I am using Astro and Apollo client to fetch data using GraphQL. In Astro I am using SSR only. I have set up the following Astro dynamic routing (SSR mode): // […slug].astro — import Page from ‘../components/page/Page.astro’; import Layout from ‘../layouts/Layout.astro’; — <Layout title="Test"> <Page /> </Layout> And Page.astro: // Page.astro — import PageOne…
-
Software Engineer-1
-1 Getting 404 not found error for /graphql endpoint.I have added configurations related to graphql ie. schema classpath, enabled graphql. I have added the required dependencies : "spring-boot-starter-graphql" and "graphql-java-tools". I have created a controller containing the @QueryMapping for querying data . I tried updating adding @Component on my Controller (saw in a post) but…