trpc-panel icon indicating copy to clipboard operation
trpc-panel copied to clipboard

feat: Support trpc@11

Open Haschtl opened this issue 2 years ago • 9 comments

Maybe a bit early, but the next major release trpc (v11) is on the horizon, basically updating react-query to v5.

trpc-panel does not work with the latest @trpc/server@next version. No procedures are beeing parsed, all resulting in errors Couldn't parse node.

When I revert back to react-query v4 and trpc v10 everything works fine

Haschtl avatar Nov 16 '23 12:11 Haschtl

I looked into this and procedure def changed in tRPC v11 which cause this problem. These changes here https://github.com/extendsLcc/trpc-panel/commit/b380a7b591ac259c8552625efed292450581d616 are enough to make it work with v11 although it need more testing...

extendsLcc avatar Dec 06 '23 15:12 extendsLcc

I looked into this and procedure def changed in tRPC v11 which cause this problem. These changes here extendsLcc@b380a7b are enough to make it work with v11 although it need more testing...

Hello there from end of May 2024. Looks like we can consider trpc-panel mostly unmaintained now. Sad, but at least your fix works. Thanks.

P.S. Because of such not maintained solutions around tRPC I don't think it's a good idea to start new products using tRPC. tRPC lacks of debugging/manual testing tools out of the box. Slowly, with new updates of tRPC, most of useful tools around it will dissapear...

MinskLeo avatar May 18 '24 22:05 MinskLeo

@extendsLcc @MinskLeo Interested in forking and maintaining with us?

luskin avatar Jun 03 '24 00:06 luskin

@extendsLcc @MinskLeo Interested in forking and maintaining with us?

When I actually stumbled with this problem, I thought about attempt to contact @iway1 and ask for maintainer permissions for the project (there is are still some useful community PR hanging there). But I decided to not because of some reasons:

  • I'm not experienced developer, and I'm not sure that I can handle the project with the quality the community expects;
  • I don't have much knowledge about tRPC internals (although is something that can be learned with time), so I'm not sure that I can maintain the project;
  • I was struggling with make ends meet, so I was afraid that I wouldn't be able to handle this project.

At the moment, I can attempt to re-evaluate the possibility, but still not very confident about it. Also, unfortunately I'm currently not using tRPC (it's laravel), I will return in the future, but right now i don't have a project that I can put the tRPC panel in use to stress test and improve it.

My workaround can be used from here @extendslcc/trpc-panel

extendsLcc avatar Jun 03 '24 17:06 extendsLcc

@extendsLcc @MinskLeo Interested in forking and maintaining with us?

When I actually stumbled with this problem, I thought about attempt to contact @iway1 and ask for maintainer permissions for the project (there is are still some useful community PR hanging there). But I decided to not because of some reasons:

  • I'm not experienced developer, and I'm not sure that I can handle the project with the quality the community expects;
  • I don't have much knowledge about tRPC internals (although is something that can be learned with time), so I'm not sure that I can maintain the project;
  • I was struggling with make ends meet, so I was afraid that I wouldn't be able to handle this project.

At the moment, I can attempt to re-evaluate the possibility, but still not very confident about it. Also, unfortunately I'm currently not using tRPC (it's laravel), I will return in the future, but right now i don't have a project that I can put the tRPC panel in use to stress test and improve it.

My workaround can be used from here @extendslcc/trpc-panel

Cannot parse Zod objects though. This was such a nice project though.

codesfromshad avatar Jun 11 '24 12:06 codesfromshad

forked and fixed request issues here you can just use @metamorph/trpc-panel glhf

KROT47 avatar Jun 12 '24 15:06 KROT47

forked and fixed request issues here you can just use @metamorph/trpc-panel glhf

Hey, King! You dropped this 👑.

Take a bow.

DarkelfcarlaKonoHealerMendokusaiGIF

codesfromshad avatar Jun 12 '24 20:06 codesfromshad

forked and fixed request issues here you can just use @metamorph/trpc-panel glhf

The readme in your repo leads to the old trpc-panel package, but it should be your new @metamorph/trpc-panel

MiloWang2048 avatar Jun 24 '24 13:06 MiloWang2048

@metamorph/trpc-panel

Noice i will add this in the trpc website awesome list since this codebase maintainer is dead

LeulAria avatar Aug 01 '24 17:08 LeulAria