GraphQL

GraphQL

File upload in GraphQL-ruby using Active Storage Direct Upload

File upload in GraphQL is a tricky problem to solve. Solve the file upload problem using direct upload to Active Storage Rails.

Read
GraphQL

Custom scalar in GraphQL-ruby

GraphQL-ruby has built-in scalar types. These may not always fit our needs, that when custom scalar types come to rescue.

Read
GraphQL

Infinite scrolling in Apollo GraphQL and GraphQL-ruby

Add infinite scrolling load data continuously and eliminating the need for pagination in Apollo GraphQL and GraphQL-ruby

Read
GraphQL

Polymorphic types with GraphQL-ruby

Polymorphic types in Rails are used to add belongs to many associations. GraphQL-ruby resolves polymorphic types using Union"

Read
GraphQL

Cursor based Relay-style pagination in GraphQL-ruby

Add cursor based Relay-style pagination in GraphQL queries to restrict the amount of data fetched by the query

Read