zenstackhq / zenstack

Fullstack TypeScript toolkit that enhances Prisma ORM with flexible Authorization layer for RBAC/ABAC/PBAC/ReBAC, offering auto-generated type-safe APIs and frontend hooks.
https://zenstack.dev
MIT License
2.11k stars 88 forks source link

[Feature Request] TRPC 11 support #859

Closed ymc9 closed 1 month ago

DawidWraga commented 10 months ago

yes! I want to use react query v5. But react query v5 is not compatible with trpc v10. So I need to use trpc v11... which is not compatible with zenstack v1.5! Any plans for when we might see this available?

ymc9 commented 10 months ago

yes! I want to use react query v5. But react query v5 is not compatible with trpc v10. So I need to use trpc v11... which is not compatible with zenstack v1.5! Any plans for when we might see this available?

Hi @DawidWraga , I haven't tried V11 yet, so not sure how much change is needed. Have you already upgraded your project? What are the main differences that you notice?

ymc9 commented 9 months ago

Having a conversation with trpc maintainers here: https://discord.com/channels/867764511159091230/1200854658915242004

mfchiz commented 3 months ago

Hi! has there been any update on this feature request? Is this fixed in v2?

ymc9 commented 3 months ago

Hi! has there been any update on this feature request? Is this fixed in v2?

Not yet. It was blocked by a typing breaking change on tRPC side. Let me check with their folks and see if it's resolved.

ymc9 commented 3 months ago

Created a new thread on trpc's dicord: https://discord.com/channels/867764511159091230/1266837300235735070

ymc9 commented 1 month ago

Fixed in 2.5.0