Eloy Durán

Results 124 issues of Eloy Durán

I found this to be a bit unintuitive: ``` graphql { artist(id: "banksy") { counts { artworks for_sale_artworks } } } ``` Because `Artist.artworks` takes a `filter` parameter, so I...

enhancement

Besides our throughput going down when under pressure, we’d also like to run on smaller Heroku dynos. @craigspaeth Can you paste dump any of your current investigations here? - [...

- [Gallery](https://github.com/artsy/metaphysics/blob/56d8fffa3287ba8e651cf447539452945190caf9/schema/home/results.js#L38-L45) - [Fair](https://github.com/artsy/metaphysics/blob/56d8fffa3287ba8e651cf447539452945190caf9/schema/home/results.js#L68-L80) - [Gene](https://github.com/artsy/metaphysics/blob/56d8fffa3287ba8e651cf447539452945190caf9/schema/home/results.js#L88-L100) MongoDB does not have built-in ‘random’ functionality, some possibilities: 1. Add a ‘random’ attribute to the collection: https://github.com/mongodb/cookbook/blob/master/content/patterns/random-attribute.txt 2. Skip: https://alan-mushi.github.io/2015/01/18/mongodb-get-random-document-benchmark.html#the-skip-trick-method-4a--4b 3. Alternatively we...

Optimization

http://graphql.org/learn/queries/#aliases

enhancement

Inspired by Rich Harris' [Svelte interactive documentation](https://learn.svelte.dev/tutorial/welcome-to-svelte) and [JSNation talk](https://www.youtube.com/watch?v=RwBolXX9Pis). ![graphql-interactive-docs](https://user-images.githubusercontent.com/2320/175003394-94084b10-a95a-4b3d-b739-74e41e739193.png)

TODO: - [x] Add pagination to example app - [x] Pagination fragment requires `@refetchable` directive, is this normally enforced in the compiler or at runtime? - [x] Introduce better way...

If we do AOT compilation of some sort, we can do some of the work that resolvers sometimes do at runtime where they reflect on the request AST to determine...

enhancement

This would make the API compatibly exactly with react-relay. Will an error boundary suffice?

enhancement

I don't recall why I didn't add Suspense support immediately, but I feel like that should be revisited as the changes needed seem minimal.

enhancement

According to @vladar any read from the cache adds entries to optimism. We need to verify this and try to avoid it, perhaps as described here https://github.com/apollographql/apollo-client/issues/9306#issuecomment-1015634246

bug