Details
Details
tried calling linkFarcasterAccount multiple times. attempts with the same FID succeeded but attempts with a different FID failed.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
This comment was removed by ashoat.
| services/identity/src/database/farcaster.rs | ||
|---|---|---|
| 68–72 ↗ | (On Diff #38389) | You don't have to provide the same value twice |
| 88 ↗ | (On Diff #38389) | Does UpdateExpression if_not_exists fail the operation if given value already exists? The docs don't say this explicitly, but I guess
means that if the ID already exists, the expression evaluates to SET farcasterID = farcasterID so it's a no-op. According to your test plan, it succeeds so it's alright |
| services/identity/src/database/farcaster.rs | ||
|---|---|---|
| 88 ↗ | (On Diff #38389) | yeah i checked and it succeeds so assuming DDB treats it as a no-op |