Better HN
topnewbestaskshowjobs
Log inSign up

trever123

9 karma · joined Jan 27, 2020 (6y ago) · 4 submissions

Submissions

comment 4y ago · link · parent

Some GraphQL APIs do this on purpose if the API is meant to be completely public and if they want to allow self discovery and documentation of things through introspection. Allows anyone to point their own instance of GraphiQL or GraphQL playground and the endpoint and find things out. We even include comments in the schema to help with this as another form of documentation.

comment 4y ago · link · parent

Some companies/APIs do this on purpose as one of the benefits of graphql is the self documenting nature. If you have a well secured schema this shouldn’t be a problem. If you are doing security through absurdity by having stuff in the schema you don’t want people to discover, you are going to have a bad time.

comment 5y ago · link · parent

CockroachDB works very well for this

comment 6y ago · link · parent

We use this at work and love it. Great easy to use framework and easy to build on top of