GitHub API `databaseId` no method error

Open
#77 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
graphql, ruby
Domain
api

Research direction

No file, query, dependency version, or test is named. Start by reproducing the GitHub API response containing databaseId and inspect how graphql-client exposes that field versus foo.to_h["databaseId"]; done means the field supports the normal accessor method without breaking other fields.

Written by the indexing model from the issue text.

Description

I'm getting a "no method error" with the GitHub API with a databaseId field. I can see the value is there in the response and I have to access it via foo.to_h["databaseId"]. All other fields I can use the normal accessor methods.

Dominant language
Ruby
Stars
79
Forks
227
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github-community-projects/graphql-client

All issues in github-community-projects/graphql-client

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.