Azure / Azure/azure-functions-durable-js
signalEntity lower cases entity id
- Dominant language
- TypeScript
- Stars
- 142
- Forks
- 66
- Avg merge
- 3d 19h
- Merged PRs (30d)
- 4
Description
When I tried to signal an entity from another entity, I was able to successfully but for the wrong entityId (it looks like casing matters, and the id was becoming "mycounter", all lowercase.
In an entity:
```
const entityId = new df.EntityId("MyCounter", "scenario");
context.df.signalEntity(entityId, "add");
```
In a durable client function:
```
// This was never hit
const entityId = new df.EntityId("MyCounter", "scenario");
const { entityState } = await client.readEntityState(entityId);
```
Contributor guide
Research direction
Start by reproducing the casing example with EntityId("MyCounter", "scenario"), then trace the signalEntity and readEntityState entry points to see where the entity ID is lowercased. Done means signaling and reading both address the original case-sensitive ID, so the durable client function reaches the entity state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100