Snider
|
bca6e2c4cb
|
feat: complete AX pass — cmd/ rewrite, string concat, proxy, bridge
- cmd/api: rewrite from Cobra CLI → Core command tree (c.Command)
- cmd/api/cmd_spec.go: uses SpecBuilder.Build → core.Result
- cmd/api/cmd_sdk.go: uses c.Process() for openapi-generator, core.Fs
- bridge.go: string concat → core.Concat
- graphql.go: string concat → core.Concat
- openapi.go: string concat → core.Concat
- proxy.go: strings → core.TrimPrefix/TrimSuffix, panic concat → core.Concat
- Zero disallowed imports, zero string concat, zero old paths
Co-Authored-By: Virgil <virgil@lethean.io>
|
2026-03-26 08:50:29 +00:00 |
|
Snider
|
de63217168
|
feat: AX v0.8.0 — Core primitives, Result returns, zero disallowed imports
- api.go: errors.Is → core.Is
- openapi.go: Build returns core.Result, encoding/json → core.JSONMarshal
- export.go: rewrite with core.Fs, core.JSONUnmarshal, returns core.Result
- codegen.go: rewrite with c.Process(), core.Fs, App.Find — no os/exec
- sse.go: encoding/json → core.JSONMarshalString, fmt → core.Sprintf
- swagger.go: fmt → core.Sprintf, Build caller updated for core.Result
- middleware.go: strings → core.HasPrefix/SplitN/Lower
- authentik.go: strings → core.HasPrefix/TrimPrefix/Split/Trim/Contains
- brotli.go: strings → core.Contains
Transport boundary files (net/http, io for compression) retained.
Co-Authored-By: Virgil <virgil@lethean.io>
|
2026-03-26 08:39:59 +00:00 |
|