Results 187 issues of Stephen Haberman

Currently when using `forceLong=bigint`, protobuf.js still produces longs, and we convert to/from `bigint`s by going through strings. In theory we should optimize this to not use strings, by either leveraging...

I.e. pull out the database setup into an optional/appendix, and just assume user's have a db setup. Feedback: --- I didn’t use docker compose for my db. obv not required...

Sometimes we avoid using reactive fields if the calculation they would trigger is too large, for example something like: ```ts class Publisher { hasAnySuccessfulAuthors = hasPersistedAsyncProperty( authors: { books: "status"...

enhancement

Using toEquals with entities can cause issues b/c: * The equality does a deep comparison of the entities & ends up diffing the entire EntityManager/ConnectionPool * If equality fails, the...

When Jest diffs entities for like `expect(result).toEqual(someEntity)`, it deep crawls into each entity and ends up diffing the entire `EntityManager` / connection pool / etc. Besides just being slow, if...

Currently `em.populate` leverages the dataloader-driven batching of relations, and basically walks the tree of entities/relations calling `.load`. This works, but it means every loaded relation creates a promise, which in...

I.e. both a parent & child are soft-deleted, when we have cascading soft-deletes, a parent being soft-deleted should immediately cascade to the child, otherwise code has to do: ``` const...

enhancement

Slugs in URLs are similar to tagged ids, but incorporate part of the entity's data directly, i.e. `Author firstName=bob` might have an `Author slug=bob-123`, which looks tagged-ish, but isn't actually...

Today we have a single `config.addRule` method that configures both "simple" and "reactive" rules. I.e. ```ts // simple rule, fired any time author is changed config.addRule(a => a.firstName) // reactive...