How to express a list of nullable elements
See original GitHub issueSome of the elements of my query may be null, so I’m writing it like:
type Query {
myList: [String]!
}
I should expect to get something like this, right?
interface Query {
myList: (string | null)[]
}
but I get this
interface Query {
myList: string[]
}
which is not quite right I think.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Adding null values to arraylist - java - Stack Overflow
If I can add null values to an ArrayList , can I loop through only the indexes that contain items like this? for(Item...
Read more >Null being added to every element in list list
Generally, you'll want to use Table (or maybe Array , or Sow and Reap for " AppendTo —like functionality") to build lists, not...
Read more >null as an Element
An ArrayList element can be an object reference or the value null . When a cell contains null , the cell is not...
Read more >Design with nullable reference types - Microsoft Learn
Tutorial: Express your design intent more clearly with nullable and non-nullable ... Open the .csproj file and add a Nullable element to the ......
Read more >R Programming: Assign NULL to a given list element
Write a R program to assign NULL to a given list element. Sample Solution : R Programming Code : l = list(1, 2,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
sorry for not responding sooner but that looks complete. btw - loving this repo!
Done in 0.9.0 😃