Skip to content

Add onCallGenkit extension#26

Draft
mosuem wants to merge 14 commits intoinvertase:mainfrom
mosuem:addOnCallGenkit
Draft

Add onCallGenkit extension#26
mosuem wants to merge 14 commits intoinvertase:mainfrom
mosuem:addOnCallGenkit

Conversation

@mosuem
Copy link
Contributor

@mosuem mosuem commented Jan 29, 2026

@CLAassistant
Copy link

CLAassistant commented Jan 29, 2026

CLA assistant check
All committers have signed the CLA.

@Lyokone
Copy link
Contributor

Lyokone commented Feb 5, 2026

Looking good, I think snapshot testing would be interesting to be confident with the builder.yaml catching the function properly.

firebase.https.onCallGenkit(
name: name,
flow: flow,
contextProvider: (context) => {'auth': context.auth?.token?['email']},
Copy link

Choose a reason for hiding this comment

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

Suggested change
contextProvider: (context) => {'auth': context.auth?.token?['email']},
contextProvider: (request) => {'auth': request.auth?.token?['email']},

dependencies:
firebase_functions:
path: ../
genkit:
Copy link

Choose a reason for hiding this comment

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

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.

4 participants