edgedb-go
edgedb-go copied to clipboard
The official Go client library for EdgeDB
One nice feature of golang's most popular error library [pkg/errors](https://github.com/pkg/errors) is [custom formatting](https://pkg.go.dev/github.com/pkg/errors#hdr-Formatted_printing_of_errors) for printing errors. This is something that would improve the developer experience by associating stack traces with...
I think it would be nice to change the options/configuration API by adding options "constructors", giving the options type a builder API and making the option's fields private. This would:...
AFAIK there are currently two ways to bind optional or non-primitive type values with EdgeDB: - using one of the provided types in `edgedbtypes`, e.g. `OptionalStr`, which cannot be extended...
Update descriptors. Add multirange codec. Add simple multi range test. **NOTE**: I'll add more and better tests.
The test was removed in https://github.com/edgedb/edgedb-go/pull/292/files#diff-54930caf20c237ae694f4fcc8c4b5282a4097a7e32685926abed55fff021438aR194
EdgeDB 4.0 adds a multi range type that `edgedb-go` will need to support. see also: [python implementation](https://github.com/edgedb/edgedb-python/pull/452) [server implementation](https://github.com/edgedb/edgedb/commit/9f31f005ad39b259d33519a11c0267105be521ed)
It would probably be nice to have examples for `WithConfig()` etc. in the documentation.
Currently `edgeql-go` generates private query functions and return types. The user can export these types but it requires a few lines of code for each query. There should be a...
Is it possible to extract information about constraint violation error from `edgedb.Error`? Idea is that I'm interested in knowing which field exactly has violated constraints (say, is it an `email`...
When we don't have permission to read a file/folder in the project tree skip it instead of failing.