Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Inferable tRPC Adapter #272

Merged
merged 12 commits into from
Dec 11, 2024
Merged

feat: Inferable tRPC Adapter #272

merged 12 commits into from
Dec 11, 2024

Conversation

nadeesha
Copy link
Contributor

  • feat: tRPC adapter
  • update
  • update

@nadeesha nadeesha marked this pull request as ready for review December 10, 2024 10:12
Copy link
Contributor

@johnjcsmith johnjcsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌

2. It adds a `ctx` field to the tRPC procedure so you can validate the context that's passed by Inferable in your down stream procedures or middleware.

- This allows you model [human in the loop](https://docs.inferable.ai/pages/human-in-the-loop) workflows where you can fire off a approval request to a human before the function is run.
- It also allows you to handle [end-user authentication](https://docs.inferable.ai/pages/end-user-authentication) in your tRPC procedures.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#281 renames this to custom auth

@nadeesha nadeesha merged commit 711ea9f into main Dec 11, 2024
27 checks passed
@nadeesha nadeesha deleted the nadeesha/trpc-adapter branch December 11, 2024 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants