Eric Haynes

Results 60 comments of Eric Haynes

There's no way to do it currently. You can pass a custom `issuer` and `jwksUri` param, but you would still have to host the JWKS yourself. The `secret` parameter can...

There's nothing particularly unique about this middleware vs others. You should always have a global "catch all" error handler attached to your app AFTER all other routes and middleware. Note...

> The current implementation of Refine does support error messages Oh, right, I just meant that my pipeline-style example did not leave a place to set the error message. Interesting...

This really shouldn't be fixed at the framework level, but within prisma. Another obvious example is testing. A basic `expect(value).toEqual(expected)` with `vitest` fails because of the symbol property. FWIW a...

ESC to abort the operation pretty much universally would be nice, as there are several places where that's not the case. It's pretty universal that that key will cancel something,...

See my last comment here: https://github.com/sinclairzx81/typebox/issues/815 `R extends StaticDecode = StaticDecode` will still allow `R` to be any arbitrary subtype of the actual type, so can include fields that are...

The enforcement would normally happen in the **implementation** of decode ```typescript function decode2(): T { // typescript: Type '{ x: string; }' is not assignable to type 'T'. // '{...

Hey, I was out on vacation last week, so sorry for the late reply. I definitely think constraining the generic parameter is valid. That at least ensures that the value...

Within the paginate function there are functions that reference `this`, but calling `paginate()` directly won't work. It needs to be a method of the object. Untested, but either make the...