From 5c17c798c48464f415bcf1e782b079a033f9aa62 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Sun, 23 Nov 2025 14:01:32 +0100 Subject: [PATCH] feat: enhance authentication error handling and schema fetching Handle authentication errors related to consent and login in the Apollo client by redirecting users to the Auth0 login page as necessary. Update the schema-fetching logic to support dynamic references from the URL, removing mock data and improving overall data integrity in the application. Ensure proper loading states during the fetching process. --- app/pages/schemas/[id].vue | 96 ++++++++++++++++++------------------ app/pages/schemas/index.vue | 2 +- app/plugins/apollo.client.ts | 20 +++++++- 3 files changed, 67 insertions(+), 51 deletions(-) diff --git a/app/pages/schemas/[id].vue b/app/pages/schemas/[id].vue index aca97d2..0310535 100644 --- a/app/pages/schemas/[id].vue +++ b/app/pages/schemas/[id].vue @@ -124,14 +124,60 @@