question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Chokes on Complex Nested Fields with Arguments

See original GitHub issue
query ($customerCode: String!, $dataRepositoryCode: String!, $dataCollectionCode: String!, $dataRecordIDs: [String!]!, $limit: Int) {
  customer(customerCode: $customerCode) {
    customerCode
    dataRepository(dataRepositoryCode: $dataRepositoryCode) {
      customerCode
      dataRepositoryCode
      metadata
      dataCollection(dataCollectionCode: $dataCollectionCode) {
        dataRecords(dataRecordIDs: $dataRecordIDs, limit: $limit) {
          entities {
            values
            relatedDataRecords
          }
        }
      }
    }
  }
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ferronrsmithcommented, Jul 28, 2019

I’m not able to generate the above. i.e Arguments on nested fields 😄. The same way you’re able to handle nested fields, you should be able to process args on that level as well.

0reactions
khaosdoctorcommented, Sep 8, 2019

btw your funding link is broken. I tried sending some ❤️ your way, but it doesn’t work.

Screenshot 2019-09-07 at 6 25 09 PM

Oops! Sorry about that, just fixed it 😃

Thanks a lot!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why are these nested options in a POSIX shell script being ...
In your first case, the arguments passed to count_args were interpreted by the shell, the shell saw two words --options and 1 2...
Read more >
java - How to handle nested field with arguments in Spring for ...
I solved it using @SchemaMapping : @QueryMapping public Field1 field1(@Argument param1) {...} @SchemaMapping public Field2 field2(Field1 ...
Read more >
How to get nested fields arguments? · Issue #51 - GitHub
Hello, I have a small and possible simple question about access to nested field arguments Types: type NestedField { value: String! }
Read more >
CREATING AN ARGUMENT STRUCTURE
There are two main parts to creating an argument structure: ... Nested arguments: You may have nested arguments, that is, argument within arguments...
Read more >
Nested field type | Elasticsearch Guide [8.5] | Elastic
Instead, consider using the flattened data type, which maps an entire object as a single field and allows for simple searches over its...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found