syedahnb
syedahnb
Explore posts from servers
TtRPC
Created by syedahnb on 11/14/2023 in #❓-help
Can You Provide Guidance on Implementing RBAC and Share GitHub Examples?
I am currently exploring the implementation of Role-Based Access Control (RBAC) and am seeking your guidance. Could you kindly provide insights, examples, or direct me to relevant GitHub repositories showcasing effective RBAC implementation? Your expertise and assistance would be highly appreciated.
13 replies
TtRPC
Created by syedahnb on 9/22/2023 in #❓-help
Troubleshooting 'Type Instantiation Is Excessively Deep' Error in Next.js Project with TRPC Integrat
I am using the table and pagination for listing data, just as the awesome developer did in 'https://github.com/PoffM/nextjs-issue-tracker.' Everything was working perfectly. I upgraded all packages, including the trpc code, but after the update, I started getting an error. I applied the same code in version 10, but I'm encountering this specific error at the 'PathValue' for the type 'GetProcedure<TRouteKey extends RouteKey>': 'type instantiation is excessively deep and possibly infinite.' //file src/utils/trpc.ts at this line getting error
type GetProcedure = PathValue<
AppRouter["_def"]["procedures"],
TRouteKey
>;
type GetProcedure = PathValue<
AppRouter["_def"]["procedures"],
TRouteKey
>;
2 replies