Alexander Staubo

Results 42 issues of Alexander Staubo

I was running [this](https://github.com/rogpeppe/godef/commit/ea14e80) version. I don't see anything in the commit log about relevant fixes, so I'm posting this in case it's useful. `godef` is taking about 1.5 cores,...

Consider that you're writing this in some editor: ```go package main // Some type Something struct { ... ``` The autocompletion at this point should offer `Something` as the top...

I'm trying to understand how `gqlgen` can optimize batch loading lazily/concurrently, given that all resolvers are synchronous — i.e. they return the value itself, instead of a thunk (future). I...

performance
accepted
execution

### Which version of Elastic are you using? [x] elastic.v7 (for Elasticsearch 7.x) [ ] elastic.v6 (for Elasticsearch 6.x) [ ] elastic.v5 (for Elasticsearch 5.x) [ ] elastic.v3 (for Elasticsearch...

bug

Consider something like: ```typescript const {loading, error, data, refetch} = useQuery(someQuery) if (error) { return ( Could not fetch that. refetch()}>Try again ) } return ... ``` If the query...

Original code: ```go var status string if e, ok := err.(*dingbat.Error); ok { status = strconv.Itoa(e.Status) } else if err != nil { status = "ERROR" } else { status...

The resolver pipeline seems to like explicit null fields. For example, if you do something like `query { things { id, name } }`, you might end up with something...

I'm looking for a way to use this library to check, using Cartesian coordinates: * If two polygons intersect * if a polygon fully contains another polygon I'm not seeing...

enhancement

This gets old fast: ``` Source: &json.RawMessage{ 123, 34, 97, 103, 101, 110, 116, 95, 117, 105, 100, 34, ... ``` We should emit arrays in a compact way for...

Example: ``` type BooleanLiteral = bool ... litter.Dump(BooleanLiteral(true)) ``` Prints `true`, instead of `BooleanLiteral(true)`.