Daniel G. Taylor

Results 255 comments of Daniel G. Taylor

@lsdch I'm not opposed to such a change if it can work. I'm willing to review and merge if you wanted to try it. @davidolrik for `healthz` & `readyz` I...

@davidolrik you can still document it manually by setting `api.OpenAPI().Paths["/readyz"].Get...`. If you don't want to manually write a JSON Schema you can also use `api.OpenAPI().Components.Schemas.Schema(reflect.TypeOf(MyType{}), true, "hint")`. Another alternative is...

@aleksicmarija there isn't any sort of API resource versioning functionality built-in, since there are many different ways to accomplish this and it's not always easy to model via OpenAPI. Currently...

Here is a *very* basic example of how you could support types that can be downgraded and allow clients to select a version via the `Accept` header: https://go.dev/play/p/GYj_GyszZWN First, define...

Nice find, this is a bug as it should be treated as a string.

@Yurovskikh thanks for the PR! Can you help me understand the need for this change? The existing behavior is described at https://huma.rocks/features/bring-your-own-router/#route-groups-base-urls which seems to cover the various use-cases you...

@Yurovskikh is the idea that this would only impact the API routes themselves and not the docs/openapi/schemas paths? I just wonder if this is more confusing than explicitly setting the...

Some initial thoughts: - The profile should probably use the lowest common denominator: javascript - Do you have any examples of what would be useful in a profile like this?...

Interesting. I'm definitely open to the idea of this being a default plugin because it seems like there is a lot of value here. I'm a bit wary of the...

Interesting... this also appears to be a problem in `node` itself and the default Node.js REPL. This works okay in both `coffee` and `nesh -c` when using multi-line mode (`ctrl+v`)...