Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about graphql-ruby

Read more about graphql-ruby

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - graphql-ruby

Graphql-ruby Bulding Mutation/query Without the need of user authentication

Hey I have a graphql mutation which needs to be implemented before user logs in. Till now I have been using graphql endpoints only after User is fully authenticated. Since graphql controller inherits ...
test-img

JIGME

ruby

ruby-on-rails-3

graphql

graphql-ruby

Votes: 0

Answers: 1

Latest Answer

You can add logic in execute method of GraphQlController that checks for exceptions. For example, we want to skip authorization on "createSession" query that is supposed to generate JWT toke...
test-img

drKreso

ActiveStorage - Could not find or build blob: expected attachable, got #<ActionDispatch::Http::UploadedFile

Steps to reproduce Gems gem 'graphql', '1.13.2' gem 'apollo_upload_server', '2.1.0' app/graphql/mutations/create_document.rb module Mutations class CreateDocument < Mutations::BaseMutation d...
test-img

SulmanWeb

ruby-on-rails

file-upload

graphql

rails-activestorage

graphql-ruby

Votes: 0

Answers: 1

Latest Answer

First you need to create blob file in case of active storage. def attach_doc(doc_param) doc = ActiveStorage::Blob.create_and_upload!( io: doc_param, filename: doc_param.original_filename, ...
test-img

Mahroze Shahid

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved