contrib
contrib copied to clipboard
A collection of extensions and tools for ent
These updates enable the output of generated code into another package where the pb codes (generated by `protoc-gen-go` and `protoc-gen-go-grpc`) exist. I added the following two options: - `package` Import...
Just a simple addition to allow schemast to support through edges. Usage is `e.Descriptor().Through = &struct{ N, T string }{N: throughName, T: throughType}`. If this is accepted happy to update...
This prevents name collisions in the `CollectFields` method for entities named `F*C*`. Same issue that was addressed in #572. I second the suggestion there to opt out of dynamic name...
# entoas ## Issue Generated openapi.json generates properties and operations for skipped edges: ``` shell $ grep -i "password\|secret" ent/openapi.json "secret_parent": { "secret_children": { "secret_parent": { "secret_children": { "/users/{id}/secret-children": {...
This PR does a few things: - For all ent fields and edge requests, the description field is populated in the ogen schema. - Had to move away from the...
Includes a few other minor lint related items (new file perm syntax, early returns, etc).
# Summary I found an issue with ent and entoas. While checking out a generated `openapi.json` file I thought it would be nice to have some [example](https://swagger.io/docs/specification/adding-examples/) values prepared for...
This PR adds support for specifying custom `Marshaller` and output file when initializing `entoas` extension. Sadly, only `github.com/go-faster/yaml` and `encoding/json` seem to work up to now.