rescript-apollo-client icon indicating copy to clipboard operation
rescript-apollo-client copied to clipboard

ReScript bindings for the Apollo Client ecosystem

Results 20 rescript-apollo-client issues
Sort by recently updated
recently updated
newest added

Today in mutation, in refetchQueries, there is only support for `Array`, there is not support for `RefetchQueriesFunction` https://github.com/jeddeloh/rescript-apollo-client/blob/3eba88457985a51048d51c9f57b6447978332827/src/%40apollo/client/react/types/ApolloClient__React_Types.res#L710

probably want to create an issue to track progress on this from `graphql-ppx`? _Originally posted by @illusionalsagacity in https://github.com/jeddeloh/rescript-apollo-client/pull/138#discussion_r775291768_

I just had a situation where it would be useful to read variables passed to a mutation from its `update` function. The official TypeScript definitions state: ```typescript export type MutationUpdaterFunction<...

There is some defensive programming in the client where there is an expectation that the parse function can fail. GraphQL is a protocol with certain guarantees. That means we can...

This works, but you might have ideas how to implement this, don't know if this fits well in the architecture?

Sadly no tests yet. Being a bindings library, it doesn't feel to me like tests using mocks will provide a lot of value. It probably needs to be fully end-to-end....

help wanted

I'd really like to get a proper documentation site up. Some possibilities: - Just hack together something with Docusaurus - Use current [OCamldoc](https://ocamlverse.github.io/content/documentation_guidelines.html#basic-documentation-syntax) to generate something: https://dev.to/yawaramin/publish-reasonml-api-docs-automatically-3c4i - Wait for...

documentation
help wanted

I noticed that several files were being re-formatted, IMO it'd be good to run this before some larger PRs start including these formatting changes.