Skip to content

Is 'transaction' reserved? #4113

Closed Answered by provinzkraut
YuanhengZ asked this question in Q&A
Discussion options

You must be logged in to vote

transaction is defined as a dependency (dependencies={"transaction":provide_transaction}). It will be injected under the key it's defined at. If you want to use a different key, you'll have to rename it in the dependency declaration as well as the function where it's being used.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YuanhengZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants