sam boyer

Results 134 issues of sam boyer

Thema's kernels are an ideal place to use generics: Make a kernel with type `T`; take `[]byte` in, spit `T` out. I haven't played enough with generics yet to have...

help wanted

The addition of OpenAPI and JSON Schema translation to Thema is huge - it's unlocked [a lot of codegen](https://gist.github.com/sdboyer/b42727781811f4f054db1449990dc0eb#file-dashboard-go). To really make it easy to use, though, direct support should...

enhancement

As of right now (Jan 3 2022) there is no code, docs, or anything that deals with compositional lineages. The only hint that they're even a thing is the `UnarySchema`...

enhancement

`#Lineage.joinSchema` defines the join/least upper bound that must be maintained by all schemas in a lineage. Currently, it starts as top, `_`: https://github.com/grafana/thema/blob/b7b433093f2fd56c11e68a45b0c3ee7b7850ca8c/lineage.cue#L11-L24 This isn't great: * It makes injecting...

invariants

The Thema tutorials lay out how to map a Thema lineage to a [`LineageFactory`](https://pkg.go.dev/github.com/grafana/thema#LineageFactory), which forms a bridge from the literal lineage written in CUE to what's written in Go....

help wanted
operator-framework

The `thema` command offers (or will offer) basic Thema operations via CLI and HTTP. It'd be absolutely _amazing_ if we could also represent those operations as something that was easily...

documentation
enhancement

The tutorials are quite helpful, but they introduce too much code, in too many broken-up parts, to reasonably expect the user to copy/paste or otherwise recreate it all themselves. We...

documentation
enhancement

The README and CLI help docs talk a big game about having an HTTP server mode, but it's not yet implemented. Do that. There's not a lot of mystery, here...

enhancement

The environment setup tutorial is currently in the second tutorial ([mapping](https://github.com/grafana/thema/blob/main/docs/go-mapping.md)). It should really be in the first one. Probably makes the most sense to fix this at the same...

The [overview docs page](https://github.com/grafana/thema/blob/main/docs/overview.md) already has one key visual (and one TODO), but it'd be great to have canonical visuals for each of the major operations, and possibly for what's...

documentation