Hello everyone! I hope this video has helped solve your questions and issues. This video is shared because a solution has been found for the question/problem. I create videos for questions that have solutions. If you have any other issues, feel free to reach out to me on Instagram:
https://www.instagram.com/ky.emrah
Below, you can find the text related to the question/problem. In the video, the question will be presented first, followed by the answers. If the video moves too fast, feel free to pause and review the answers. If you need more detailed information, you can find the necessary sources and links at the bottom of this description. I hope this video has been helpful, and even if it doesn't directly solve your problem, it will guide you to the source of the solution. I'd appreciate it if you like the video and subscribe to my channel!Error thrown in Console, but not from app
"field 'todos' not found in type: 'query_root'"
"field 'todos' not found in type: 'query_root'"
I dont get this error if query is being run from application
but do get if it is run from Hasura Console
why?
the app is just a copy of nhost demo app
https://github.com/srghma/nativescript-testapp/blob/7ca234c4d95ec3415f8c2b8974103127cbad0cd7/docker-compose.yml#english https://github.com/srghma/nativescript-testapp/blob/7ca234c4d95ec3415f8c2b8974103127cbad0cd7/docker-compose.yml#english https://github.com/srghma/nativescript-testapp/blob/7ca234c4d95ec3415f8c2b8974103127cbad0cd7/nextjs-server-components/src/app/protected/todos/%5B%5B...pagination%5D%5D/page.tsx#english https://github.com/srghma/nativescript-testapp/blob/7ca234c4d95ec3415f8c2b8974103127cbad0cd7/nextjs-server-components/src/app/protected/todos/%5B%5B...pagination%5D%5D/page.tsx#english https://github.com/srghma/nativescript-testapp/blob/7ca234c4d95ec3415f8c2b8974103127cbad0cd7/nhost-backend/nhost/metadata/databases/default/tables/public_todos.yaml#english https://github.com/srghma/nativescript-testapp/blob/7ca234c4d95ec3415f8c2b8974103127cbad0cd7/nhost-backend/nhost/metadata/databases/default/tables/public_todos.yaml#english -- this is taken from hasura logs when I access
http://localhost:3000/protected/todos page
x-hasura-role user
x-hasura-user-id e2edb294-514b-463a-84fa-4a43e004d09a
x-hasura-user-is-anonymous false
-- this is taken from hasura logs when I access
http://localhost:3000/protected/todos page
x-hasura-role user
x-hasura-user-id e2edb294-514b-463a-84fa-4a43e004d09a
x-hasura-user-is-anonymous false
also posted here
https://github.com/hasura/graphql-engine/issues/10546
https://github.com/hasura/graphql-engine/issues/10546
Tags: hasura,nhostSource of the question:
https://stackoverflow.com/questions/79011685
Question and source license information:
https://meta.stackexchange.com/help/licensing
https://stackoverflow.com/