Monday, January 28, 2008

Stick to commen-sense conventions

I implemented an update by deleting and recreating an entity, thinking this would have no consequences (mainly because the weak foreign keys stayed the same and I expected access would happen through these keys). But I added another independent guid, and then there was a problem that because the guid changed, a client could no longer retrieve the object.

1 comment:

strongcoffee said...

Actually turns out that that was implemented that way for a reason. Lucky Justin cc'd in John about the bug, otherwise I would have changed it and invalidated the design.

So the lesson becomes, when something deviates from convention, write comments!