Do `props` not work anymore?

I quickly made two new workers with pnpm create cloudflare@latest (A and B from here on out). I added a service binding such that A can fetch B. I also added the props field.
"services": [
{
"binding": "MY_SERVICE",
"service": "patient-river-0a36",
"props": {
"foo": "bar"
}
}
]
"services": [
{
"binding": "MY_SERVICE",
"service": "patient-river-0a36",
"props": {
"foo": "bar"
}
}
]
however in the code logging out the value of ctx.props shows {}.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?