menu
Channels
# All channels
view-forward
# General
view-forward
# Apollo Angular
view-forward
# Announcements
view-forward
# Apollo Android
view-forward
# Apollo Client
view-forward
# Apollo iOS
view-forward
# Apollo Link
view-forward
# Apollo Link Rest
view-forward
# Local State
view-forward
# Apollo Platform
view-forward
# Apollo Server
view-forward
# Apollo Tooling
view-forward
# Contributing
view-forward
# Docs
view-forward
# Events
view-forward
# GraphQL Tools
view-forward
# Jobs
view-forward
# Random
view-forward
# React Apollo
view-forward
# Showcase
view-forward
# Subscriptions
view-forward
# Testing
view-forward
# Vue Apollo
view-forward
Team
Posts
Members
Info

GraphQL as data layer or change REST APIs to GraphQL

Hi, I currently have many REST API endpoints, and I am planning to use GraphQL to reduce the response payload size returned from those endpoints. What I would like to know is which approach is the best between making GraphQL as data layer between client and REST APIs or migrate…

thumbsup
1
message-simple
6

Prisma Apollo server 2 boilerplate.

I created a Prisma Apollo server boilerplate. Check it out. Contributions are welcome! https://github.com/ikey2244/prisma-apollo2

thumbsup
1
message-simple
2

Is it possible to make a subscription from browser with vanilla JS?

Without using react, vue, typescript etc.

thumbsup
0
message-simple
0

Is apollo-tooling repo supported?

It has many issues and PRs without any comments from devs...

thumbsup
0
message-simple
0

Passing variables for array of IDs

So I have the following working GQL: However when I try and make it accept passed variables it craps out because there is no ID! defined because it's an array of IDs.... I have tried skipping the $id: ID! and creating a new variable $arrayOfIds: Json but that fails as well,…

thumbsup
0
message-simple
2

fetchMore and Refetch Not Accessible in the Apollo client.query response

I'm trying to implement pagination and need access to fetchMore and refetch. I'm currently fetching like so const { data: { ...}, networkStatus, loading, stale } = await client.query(MY_QUERY), the response had networkStatus, loading and stale but not fetchMore or…

thumbsup
1
message-simple
0

The best way to pass a complex object to a mutation with UseMutation

On the server, my mutation expects a custom object type, that itself contains an array of a different custom object type, like so: To pass this on the front end, I'm seeing people pass the data outside of the object format and building the object in the query. My problem is that…

thumbsup
0
message-simple
0

apollo-server-micro

I can't seem to get apollo-server-micro to support tracing. I've added the apollo platform engine tools and set tracing: true in the Apollo server config. When I try to use tracing on the playground, it states that it's not available for my Apollo server -- is this truly the…

thumbsup
0
message-simple
0

GraphQL Input Union type

Hey, guys! What is yours workaround of this restriction?

thumbsup
1
message-simple
10

How can I write multi-line comments in gql so they will show up in GraphiQL?

It is possible to write multi-line comments with # (hashtag), but they aren't visible in the documentation generated by Playground. At the moment, I'm using " " (quotes) instead, and comments will show up in the docs. Unfortunately, multi-line comments (and lists) aren't…

thumbsup
0
message-simple
2