firecamp-dev / firecamp

Developer-first OpenSource API DevTool, Postman/Insomnia alternative.
https://firecamp.dev
GNU Affero General Public License v3.0
2.11k stars 138 forks source link

[feature]: UI feedback on GraphQL introspection #3

Open Nishchit14 opened 1 year ago

Nishchit14 commented 1 year ago

Description

In the current state, users do not receive any visual feedback in the Firecamp UI when they enter an invalid GraphQL server URL or when the introspection schema fails to be fetched. It is standard practice to disable introspection in production environments. To address this issue, Firecamp should implement a notification or message system to inform users about such events.

Expected behavior

The Firecamp UI should visually notify users when an invalid GraphQL server URL is entered or when the introspection schema fails to be fetched.

User feedback reference

image
bathini79 commented 1 year ago

@Nishchit14 Currently this is the error when graphql path is wrong: image So Do we Need To Correct the message clearly ?
And this is when i use intorspect , We need to identify if our query is starting with introspect and provide a message like introspect will be disabled in prod? image