Beginners question
Reddit » GraphQL
by /u/Euphoric-Abies-5419
2d ago
So what if I have a user type type User { userId: String! username: String! email: String! password: String! } and I also have a post type : type Post { postId: String! caption: String! user: User! } And now I wanna fetch the posts along with the user. But I would never want to query the password field . And it gets fetched to the server even though I filter it to the client. Now do you guys create a new type and fetch only the needed parts or just fetch everything from database and let graphql filter even though some of the data in fetched from the database are unnecessary. submitted by /u ..read more
Visit website
Need help creating query
Reddit » GraphQL
by /u/aliyahasking4advice
2d ago
Hello! So basically I'm having a bit of trouble creating a query with GraphQL for a take-home test. I'm fairly new to the language and would gladly pay someone for a quick thirty minute call to help me get on the right track. Please message me if interested! submitted by /u/aliyahasking4advice [visit reddit] [comments ..read more
Visit website
Statically create GraphQL schemas
Reddit » GraphQL
by /u/Historical_Ad4384
2d ago
Hi, I would like to know of it is possible to statically create GraphQL schemas instead of generating them from actual GraphQL resolver code? Basically I am looking for an OpenAPI format equivalent to GraphQL where you can define your API contract by hand instead of relying on some code generator submitted by /u/Historical_Ad4384 [visit reddit] [comments ..read more
Visit website
GraphQL Error Handling Best Practices
Reddit » GraphQL
by /u/PirateJohn75
2d ago
I'm fairly new to GraphQL and am trying to learn the error handling process. I have done some research and have found a lot of information regarding best practices for handling GraphQL errors from the server side. However, I have not been able to find any best practices for handling errors on the client side. For example, if a client sends a query and receives only partial data in the response, what are the best practices for using this data? Should they resend the query? Does anybody know of a resource where I can find some of the standard best practices from the client side? Does such a thi ..read more
Visit website
Can I run a GraphQL "server" inside a Service Worker?
Reddit » GraphQL
by /u/yojimbo_beta
2d ago
I have an interesting side project that relies on very graph-oriented data. The dataset is relatively small but users / the client will want to make complex, graph based lookups. For context it is an internal tool that lets you explore service interactions, e.g. see all the consumers of a given SNS topic, all the writers into a given RDS database. I think GraphQL might be a decent fit for my needs, but I'd prefer it if I didn't need to deploy a service, and could support offline use cases. The reasons are mostly company-specific and boring. Just trust me on this. So I had an idea. What if I c ..read more
Visit website
Graphql schema registry with golang
Reddit » GraphQL
by /u/Interesting_Bar_4305
2d ago
We are implementing a federated graphql service. Looking for good examples for building a schema registry to combine the sub graph schema submitted by /u/Interesting_Bar_4305 [visit reddit] [comments ..read more
Visit website
Converting Yoga into subgraph for Apollo Federation
Reddit » GraphQL
by /u/Effective_Data_8883
1w ago
We have a remote graphQL service built with yoga as the graphQL server library. Now we want to integrate with the graphQL endpoint into Apollo federation. The doc is not that clear. Should we connect the graphQL yoga service to envelop first and then integrate with Apollo federation through envelop Apollo plugin? Can anyone share some experiences? submitted by /u/Effective_Data_8883 [visit reddit] [comments ..read more
Visit website
Infographic - All you need to know about GraphQL Security
Reddit » GraphQL
by /u/AlarmingApartment236
1w ago
submitted by /u/AlarmingApartment236 [visit reddit] [comments ..read more
Visit website
Security features comparison: Apollo vs. Hasura
Reddit » GraphQL
by /u/Effective_Data_8883
1w ago
Hi Community, I am evaluating Apollo and Hasura for graphQL vendors. I wonder if you guys can share your experiences with these two vendors and especially their security (e.g., authn/authZ offerings)? Thank you! submitted by /u/Effective_Data_8883 [visit reddit] [comments ..read more
Visit website
[Webinar] How to secure GraphQL
Reddit » GraphQL
by /u/AlarmingApartment236
1w ago
Join Uri Goldshtein, founder of the Guild, and Tristan Kalos, CEO and co-founder at Escape, for a webinar on the challenges of GraphQL security. Both Tristan and Uri are GraphQL security experts and active contributors to GraphQL Armor. During this discussion, they will explore the critical aspects of securing GraphQL APIs, addressing common vulnerabilities, sharing their experiences and discussing best practices for ensuring strong security measures. Additionally, Uri and Tristan will share their insights into emerging threats in the GraphQL ecosystem and strategies for mitigating them effec ..read more
Visit website

Follow Reddit » GraphQL on FeedSpot

Continue with Google
Continue with Apple
OR